X-Git-Url: https://git.openssl.org/gitweb/?a=blobdiff_plain;f=crypto%2Fasn1%2Fasn1_par.c;h=af045cb15ef2469808706b5ffa03420322e37af2;hb=0856e3f167964f58c26796331eab9d8b0a883921;hp=1e17895f264307f6fe9f4a996922c07ece4d30f2;hpb=8c918b7b9c93ba38790ffd1a83e23c3684e66f57;p=openssl.git diff --git a/crypto/asn1/asn1_par.c b/crypto/asn1/asn1_par.c index 1e17895f26..af045cb15e 100644 --- a/crypto/asn1/asn1_par.c +++ b/crypto/asn1/asn1_par.c @@ -79,8 +79,8 @@ static int asn1_parse2(BIO *bp, const unsigned char **pp, long length, int dump_indent, dump_cont = 0; if (depth > ASN1_PARSE_MAXDEPTH) { - BIO_puts(bp, "BAD RECURSION DEPTH\n"); - return 0; + BIO_puts(bp, "BAD RECURSION DEPTH\n"); + return 0; } dump_indent = 6; /* Because we know BIO_dump_indent() */ @@ -116,7 +116,7 @@ static int asn1_parse2(BIO *bp, const unsigned char **pp, long length, goto end; if (j & V_ASN1_CONSTRUCTED) { const unsigned char *sp = p; - + ep = p + len; if (BIO_write(bp, "\n", 1) <= 0) goto end;