diff options
author | David Benjamin <davidben@google.com> | 2017-11-24 12:56:32 -0500 |
---|---|---|
committer | David Benjamin <davidben@google.com> | 2017-11-25 09:23:34 -0500 |
commit | 10a3195fcf7d04ba519651cf12e945a8fe470a3c (patch) | |
tree | ab5dc02edbedf7dcb0d3138ccb7c086f092c986a /include | |
parent | d807db26a403b4de69d7846656362e70f5083428 (diff) | |
download | openssl-10a3195fcf7d04ba519651cf12e945a8fe470a3c.zip openssl-10a3195fcf7d04ba519651cf12e945a8fe470a3c.tar.gz openssl-10a3195fcf7d04ba519651cf12e945a8fe470a3c.tar.bz2 |
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 <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4790)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/x509v3err.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |