diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2021-05-07 17:16:48 +0200 |
---|---|---|
committer | Dr. David von Oheimb <dev@ddvo.net> | 2021-05-12 15:04:01 +0200 |
commit | 4329f361ce75973ceca9d440e8430580ee515070 (patch) | |
tree | 409fafba01b0bebb5d246b0854517baf1e8bddb6 /include/openssl | |
parent | 202cbdd2fc37257870eeb61629d8d4d6709df7f1 (diff) | |
download | openssl-4329f361ce75973ceca9d440e8430580ee515070.tar.gz |
Add ASN1_item_i2d_mem_bio(); document and improve also ASN1_item_d2i_bio()
ASN1_item_d2i_bio(): Do not report errors in queue on BIO input being NULL
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15147)
Diffstat (limited to 'include/openssl')
-rw-r--r-- | include/openssl/asn1.h.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/openssl/asn1.h.in b/include/openssl/asn1.h.in index 6a00b3e7f7..0ee82e7d58 100644 --- a/include/openssl/asn1.h.in +++ b/include/openssl/asn1.h.in @@ -784,7 +784,7 @@ void *ASN1_d2i_bio(void *(*xnew) (void), d2i_of_void *d2i, BIO *in, void **x); in, \ CHECKED_PPTR_OF(type, x))) -void *ASN1_item_d2i_bio(const ASN1_ITEM *it, BIO *in, void *x); +void *ASN1_item_d2i_bio(const ASN1_ITEM *it, BIO *in, void *pval); int ASN1_i2d_bio(i2d_of_void *i2d, BIO *out, const void *x); # define ASN1_i2d_bio_of(type,i2d,out,x) \ @@ -793,6 +793,7 @@ int ASN1_i2d_bio(i2d_of_void *i2d, BIO *out, const void *x); CHECKED_PTR_OF(const type, x))) int ASN1_item_i2d_bio(const ASN1_ITEM *it, BIO *out, const void *x); +BIO *ASN1_item_i2d_mem_bio(const ASN1_ITEM *it, const ASN1_VALUE *val); int ASN1_UTCTIME_print(BIO *fp, const ASN1_UTCTIME *a); int ASN1_GENERALIZEDTIME_print(BIO *fp, const ASN1_GENERALIZEDTIME *a); int ASN1_TIME_print(BIO *fp, const ASN1_TIME *a); |