diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-03-05 10:43:06 +0300 |
---|---|---|
committer | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-03-10 18:09:44 +0300 |
commit | da42c2a3d752628e15b47aa7511e7044745080cb (patch) | |
tree | 754877a6fd3b6cae5c15543c568fcc526291222b /include | |
parent | b5adba204244563346d4acefb06723629e6d8f11 (diff) |
Extract sk_ASN1_UTF8STRING2text() from ts_get_status_text() in ts_rsp_verify.c to asn1_lib.c
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/11142)
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/cryptlib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/internal/cryptlib.h b/include/internal/cryptlib.h index 7ad6007fd9..19e2c9744e 100644 --- a/include/internal/cryptlib.h +++ b/include/internal/cryptlib.h @@ -23,6 +23,7 @@ # include <openssl/crypto.h> # include <openssl/buffer.h> # include <openssl/bio.h> +# include <openssl/asn1.h> # include <openssl/err.h> # include "internal/nelem.h" @@ -234,5 +235,7 @@ static ossl_inline void ossl_sleep(unsigned long millis) } #endif /* defined OPENSSL_SYS_UNIX */ +char *sk_ASN1_UTF8STRING2text(STACK_OF(ASN1_UTF8STRING) *text, const char *sep, + size_t max_len); #endif |