summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-11-24 16:37:52 +0000
committerDr. Stephen Henson <steve@openssl.org>2015-11-24 16:55:44 +0000
commitfc45da053535ee4de573aeb4d895ef6d6f7b72c9 (patch)
treeb797bde20ee1e55701bbd18184d4203452cfc8c0 /crypto
parent5844c9453f409c95fab3f295214b94dc27e38502 (diff)
Fix uninitialised p error.
Reviewed-by: Rich Salz <rsalz@openssl.org> (cherry picked from commit 63eb10a07ee29a312e50a227f5b3a290b1ad22b4)
Diffstat (limited to 'crypto')
-rw-r--r--crypto/asn1/asn1_par.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/asn1_par.c b/crypto/asn1/asn1_par.c
index 21dfe0c49e..0ca985a2be 100644
--- a/crypto/asn1/asn1_par.c
+++ b/crypto/asn1/asn1_par.c
@@ -135,7 +135,7 @@ static int asn1_parse2(BIO *bp, const unsigned char **pp, long length,
if (depth > ASN1_PARSE_MAXDEPTH) {
BIO_puts(bp, "BAD RECURSION DEPTH\n");
- goto end;
+ return 0;
}
p = *pp;