projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Tolerate critical AKID in CRLs.
[oweals/openssl.git]
/
crypto
/
asn1
/
a_object.c
diff --git
a/crypto/asn1/a_object.c
b/crypto/asn1/a_object.c
index 3978c9150d8c4783516476ffb35777ec859cb51d..ca73a281f5579b224e1dfab15b7161bcc525c94a 100644
(file)
--- a/
crypto/asn1/a_object.c
+++ b/
crypto/asn1/a_object.c
@@
-248,7
+248,11
@@
int i2a_ASN1_OBJECT(BIO *bp, ASN1_OBJECT *a)
i2t_ASN1_OBJECT(p,i + 1,a);
}
if (i <= 0)
- return BIO_write(bp, "<INVALID>", 9);
+ {
+ i = BIO_write(bp, "<INVALID>", 9);
+ i += BIO_dump(bp, (const char *)a->data, a->length);
+ return i;
+ }
BIO_write(bp,p,i);
if (p != buf)
OPENSSL_free(p);