summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2018-04-26 20:36:41 +0200
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2018-05-02 20:36:21 +0200
commitc6718437709108b4bcb784d774fb3df124df48e5 (patch)
tree87cc250d01bd4b08adc5480bc9f3338683c9f5cc /include
parent6ebb49f3f9c9333611192561979bb799fa1eb76d (diff)
a_strex.c: prevent out of bound read in do_buf()
which is used for ASN1_STRING_print_ex*() and X509_NAME_print_ex*(). Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/6105)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/asn1err.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/asn1err.h b/include/openssl/asn1err.h
index 9697898f97..048a737b14 100644
--- a/include/openssl/asn1err.h
+++ b/include/openssl/asn1err.h
@@ -95,6 +95,7 @@ int ERR_load_ASN1_strings(void);
# define ASN1_F_D2I_AUTOPRIVATEKEY 207
# define ASN1_F_D2I_PRIVATEKEY 154
# define ASN1_F_D2I_PUBLICKEY 155
+# define ASN1_F_DO_BUF 142
# define ASN1_F_DO_CREATE 124
# define ASN1_F_DO_DUMP 125
# define ASN1_F_DO_TCREATE 222