You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
489 B
13 lines
489 B
7 years ago
|
diff -up openssl-1.0.1e/crypto/x509/x509_req.c.req-null-deref openssl-1.0.1e/crypto/x509/x509_req.c
|
||
|
--- openssl-1.0.1e/crypto/x509/x509_req.c.req-null-deref 2013-02-11 16:26:04.000000000 +0100
|
||
|
+++ openssl-1.0.1e/crypto/x509/x509_req.c 2015-03-18 18:34:35.732448017 +0100
|
||
|
@@ -92,6 +92,8 @@ X509_REQ *X509_to_X509_REQ(X509 *x, EVP_
|
||
|
goto err;
|
||
|
|
||
|
pktmp = X509_get_pubkey(x);
|
||
|
+ if (pktmp == NULL)
|
||
|
+ goto err;
|
||
|
i=X509_REQ_set_pubkey(ret,pktmp);
|
||
|
EVP_PKEY_free(pktmp);
|
||
|
if (!i) goto err;
|