diff options
Diffstat (limited to 'crypto/x509/x509cset.c')
-rw-r--r-- | crypto/x509/x509cset.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/x509/x509cset.c b/crypto/x509/x509cset.c index 1543588139..676cebafa5 100644 --- a/crypto/x509/x509cset.c +++ b/crypto/x509/x509cset.c @@ -166,9 +166,9 @@ STACK_OF(X509_REVOKED) *X509_CRL_get_REVOKED(X509_CRL *crl) void X509_CRL_get0_signature(ASN1_BIT_STRING **psig, X509_ALGOR **palg, X509_CRL *crl) { - if (psig == NULL) + if (psig != NULL) *psig = crl->signature; - if (palg == NULL) + if (palg != NULL) *palg = &crl->sig_alg; } |