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
/
asn_pack.c
diff --git
a/crypto/asn1/asn_pack.c
b/crypto/asn1/asn_pack.c
index e04d327e416bae79262587aa57ba40a8f03516e3..6e0dd9562243ec55d0a921116dcbf7095aad6eb5 100644
(file)
--- a/
crypto/asn1/asn_pack.c
+++ b/
crypto/asn1/asn_pack.c
@@
-114,7
+114,9
@@
char *ASN1_unpack_string (oct, d2i)
ASN1_STRING *oct;
char *(*d2i)();
{
- unsigned char *p, *ret;
+ unsigned char *p;
+ char *ret;
+
p = oct->data;
if(!(ret = d2i(NULL, &p, oct->length)))
ASN1err(ASN1_F_ASN1_UNPACK_STRING,ASN1_R_DECODE_ERROR);