]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/x509v3/v3_ocsp.c
Fix typo in OCSP nonce extension.
[thirdparty/openssl.git] / crypto / x509v3 / v3_ocsp.c
index c65dbfa9f73b466b06cec155f455213ff90633dc..d21b6fbedb74e6876f4bf0cd069a709c5905058f 100644 (file)
@@ -173,7 +173,7 @@ static void *ocsp_nonce_new(void)
 static int i2d_ocsp_nonce(void *a, unsigned char **pp)
 {
        ASN1_OCTET_STRING *os = a;
-       if(*pp) {
+       if(pp) {
                memcpy(*pp, os->data, os->length);
                *pp += os->length;
        }