projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Initial support for Certificate Policies extension: print out works but setting
[oweals/openssl.git]
/
crypto
/
asn1
/
x_pubkey.c
diff --git
a/crypto/asn1/x_pubkey.c
b/crypto/asn1/x_pubkey.c
index a70f53fe6fe0987996cd61134d2377b5c5cd7260..2177ebd6ed41e1954f780e4a537abb7c673416cb 100644
(file)
--- a/
crypto/asn1/x_pubkey.c
+++ b/
crypto/asn1/x_pubkey.c
@@
-183,7
+183,7
@@
EVP_PKEY *pkey;
goto err;
}
- i
=i2d_PublicKey(pkey,NULL)
;
+ i
f ((i=i2d_PublicKey(pkey,NULL)) <= 0) goto err
;
if ((s=(unsigned char *)Malloc(i+1)) == NULL) goto err;
p=s;
i2d_PublicKey(pkey,&p);