[openssl-commits] [openssl] master update

Dr. Stephen Henson steve at openssl.org
Tue Sep 22 12:04:59 UTC 2015


The branch master has been updated
       via  75ef61d7058b30a5c96a9f49eee0f0313141ec54 (commit)
      from  40ffdc9cfa0717d778c674bb79850e404b587077 (commit)


- Log -----------------------------------------------------------------
commit 75ef61d7058b30a5c96a9f49eee0f0313141ec54
Author: Dr. Stephen Henson <steve at openssl.org>
Date:   Tue Sep 22 13:00:03 2015 +0100

    typo
    
    Reviewed-by: Matt Caswell <matt at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 crypto/x509/x509_req.c | 4 ++--
 crypto/x509/x509cset.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/crypto/x509/x509_req.c b/crypto/x509/x509_req.c
index a2d70c0..a8b838c 100644
--- a/crypto/x509/x509_req.c
+++ b/crypto/x509/x509_req.c
@@ -318,9 +318,9 @@ X509_NAME *X509_REQ_get_subject_name(X509_REQ *req)
 void X509_REQ_get0_signature(ASN1_BIT_STRING **psig, X509_ALGOR **palg,
                              X509_REQ *req)
 {
-    if (psig == NULL)
+    if (psig != NULL)
         *psig = req->signature;
-    if (palg == NULL)
+    if (palg != NULL)
         *palg = &req->sig_alg;
 }
 
diff --git a/crypto/x509/x509cset.c b/crypto/x509/x509cset.c
index 1543588..676ceba 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;
 }
 


More information about the openssl-commits mailing list