]> granicus.if.org Git - openssl/commitdiff
Remove warnings about uninitialised variables.
authorRichard Levitte <levitte@openssl.org>
Wed, 22 May 2002 07:55:03 +0000 (07:55 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 22 May 2002 07:55:03 +0000 (07:55 +0000)
This has already been applied in the main branch.

crypto/asn1/x_pubkey.c

index 55630294b65bac218e8082a02fb691ddd2627dcb..b3d0fa0102c035e8bd7abaf8cf28e1450b331ed9 100644 (file)
@@ -84,7 +84,7 @@ int X509_PUBKEY_set(X509_PUBKEY **x, EVP_PKEY *pkey)
        X509_PUBKEY *pk;
        X509_ALGOR *a;
        ASN1_OBJECT *o;
-       unsigned char *s,*p;
+       unsigned char *s,*p = NULL;
        int i;
 
        if (x == NULL) return(0);