PR: 2056
Submitted by: Julia Lawall <julia@diku.dk> Approved by: steve@openssl.org Correct BIO_wirte error handling in asn1_par.c
This commit is contained in:
parent
3d1dab4404
commit
fed5333248
@ -239,7 +239,7 @@ static int asn1_parse2(BIO *bp, const unsigned char **pp, long length, int offse
|
|||||||
ii=d2i_ASN1_BOOLEAN(NULL,&opp,len+hl);
|
ii=d2i_ASN1_BOOLEAN(NULL,&opp,len+hl);
|
||||||
if (ii < 0)
|
if (ii < 0)
|
||||||
{
|
{
|
||||||
if (BIO_write(bp,"Bad boolean\n",12))
|
if (BIO_write(bp,"Bad boolean\n",12) <= 0)
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
BIO_printf(bp,":%d",ii);
|
BIO_printf(bp,":%d",ii);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user