Update from head.
This commit is contained in:
parent
e27c67c5c5
commit
9d01d50459
@ -246,6 +246,8 @@ int i2a_ASN1_OBJECT(BIO *bp, ASN1_OBJECT *a)
|
|||||||
return -1;
|
return -1;
|
||||||
i2t_ASN1_OBJECT(p,i + 1,a);
|
i2t_ASN1_OBJECT(p,i + 1,a);
|
||||||
}
|
}
|
||||||
|
if (i <= 0)
|
||||||
|
return BIO_write(bp, "<INVALID>", 9);
|
||||||
BIO_write(bp,p,i);
|
BIO_write(bp,p,i);
|
||||||
if (p != buf)
|
if (p != buf)
|
||||||
OPENSSL_free(p);
|
OPENSSL_free(p);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user