diff options
author | Ben Laurie <ben@openssl.org> | 1999-04-16 18:13:27 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 1999-04-16 18:13:27 +0000 |
commit | c5db363e1b75f8452e4c888402a8ecb291b13838 (patch) | |
tree | b7c2b8078f77d9cfadc7d1343eea2bc08a8acdea /crypto/asn1 | |
parent | ddb25f88c22aba88da94602c383180042e29a81c (diff) |
Fix some warnings. Contributed by Anonymous.
Diffstat (limited to 'crypto/asn1')
-rw-r--r-- | crypto/asn1/asn_pack.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/asn1/asn_pack.c b/crypto/asn1/asn_pack.c index e04d327e41..6e0dd95622 100644 --- 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); |