summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/t_crl.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/asn1/t_crl.c')
-rw-r--r--crypto/asn1/t_crl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/asn1/t_crl.c b/crypto/asn1/t_crl.c
index 51841c05c9..a76e1125e8 100644
--- a/crypto/asn1/t_crl.c
+++ b/crypto/asn1/t_crl.c
@@ -94,8 +94,8 @@ int X509_CRL_print(BIO *out, X509_CRL *x)
BIO_printf(out, "Certificate Revocation List (CRL):\n");
l = X509_CRL_get_version(x);
BIO_printf(out, "%8sVersion %lu (0x%lx)\n", "", l + 1, l);
- i = OBJ_obj2nid(x->sig_alg->algorithm);
- X509_signature_print(out, x->sig_alg, NULL);
+ i = OBJ_obj2nid(x->sig_alg.algorithm);
+ X509_signature_print(out, &x->sig_alg, NULL);
p = X509_NAME_oneline(X509_CRL_get_issuer(x), NULL, 0);
BIO_printf(out, "%8sIssuer: %s\n", "", p);
OPENSSL_free(p);
@@ -127,7 +127,7 @@ int X509_CRL_print(BIO *out, X509_CRL *x)
X509V3_extensions_print(out, "CRL entry extensions",
r->extensions, 0, 8);
}
- X509_signature_print(out, x->sig_alg, x->signature);
+ X509_signature_print(out, &x->sig_alg, x->signature);
return 1;