From 10a3195fcf7d04ba519651cf12e945a8fe470a3c Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Fri, 24 Nov 2017 12:56:32 -0500 Subject: Pretty-print large INTEGERs and ENUMERATEDs in hex. This avoids taking quadratic time to pretty-print certificates with excessively large integer fields. Very large integers aren't any more readable in decimal than hexadecimal anyway, and the i2s_* functions will parse either form. Found by libFuzzer. Reviewed-by: Rich Salz Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/4790) --- include/openssl/x509v3err.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/openssl/x509v3err.h b/include/openssl/x509v3err.h index 2bd515c..5349d9d 100644 --- a/include/openssl/x509v3err.h +++ b/include/openssl/x509v3err.h @@ -26,6 +26,7 @@ int ERR_load_X509V3_strings(void); # define X509V3_F_ADDR_VALIDATE_PATH_INTERNAL 166 # define X509V3_F_ASIDENTIFIERCHOICE_CANONIZE 161 # define X509V3_F_ASIDENTIFIERCHOICE_IS_CANONICAL 162 +# define X509V3_F_BIGNUM_TO_STRING 167 # define X509V3_F_COPY_EMAIL 122 # define X509V3_F_COPY_ISSUER 123 # define X509V3_F_DO_DIRNAME 144 -- cgit v1.1