diff options
author | Rich Salz <rsalz@openssl.org> | 2016-05-23 15:02:34 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-05-23 15:04:23 -0400 |
commit | 0cd0a820abc6124cf8e176fa92d620a2abf9e419 (patch) | |
tree | c4eb13c39e7b280de486b86ac4721c9442e0cbf9 /include/openssl/x509.h | |
parent | f65a8c1e66f43b642d5d1709a933615aac62cebd (diff) | |
download | openssl-0cd0a820abc6124cf8e176fa92d620a2abf9e419.zip openssl-0cd0a820abc6124cf8e176fa92d620a2abf9e419.tar.gz openssl-0cd0a820abc6124cf8e176fa92d620a2abf9e419.tar.bz2 |
Remove unused error/function codes.
Add script to find unused err/reason codes
Remove unused reason codes.
Remove entries for unused functions
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'include/openssl/x509.h')
-rw-r--r-- | include/openssl/x509.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/include/openssl/x509.h b/include/openssl/x509.h index fe93b5e..93ded51 100644 --- a/include/openssl/x509.h +++ b/include/openssl/x509.h @@ -995,12 +995,13 @@ char *X509_TRUST_get0_name(X509_TRUST *xp); int X509_TRUST_get_trust(X509_TRUST *xp); /* BEGIN ERROR CODES */ - /* - * Content after this point is generated by util/mkerr.pl - * DO NOT EDIT! + * The following lines are auto generated by the script mkerr.pl. Any changes + * made after this point may be overwritten when the script is next run. */ + void ERR_load_X509_strings(void); + /* Error codes for the X509 functions. */ /* Function codes. */ @@ -1050,7 +1051,6 @@ void ERR_load_X509_strings(void); # define X509_F_X509_STORE_CTX_INIT 143 # define X509_F_X509_STORE_CTX_NEW 142 # define X509_F_X509_STORE_CTX_PURPOSE_INHERIT 134 -# define X509_F_X509_STORE_GET_X509_BY_SUBJECT 149 # define X509_F_X509_TO_X509_REQ 126 # define X509_F_X509_TRUST_ADD 133 # define X509_F_X509_TRUST_SET 141 @@ -1065,7 +1065,6 @@ void ERR_load_X509_strings(void); # define X509_R_CERT_ALREADY_IN_HASH_TABLE 101 # define X509_R_CRL_ALREADY_DELTA 127 # define X509_R_CRL_VERIFY_FAILURE 131 -# define X509_R_ERR_ASN1_LIB 102 # define X509_R_IDP_MISMATCH 128 # define X509_R_INVALID_DIRECTORY 113 # define X509_R_INVALID_FIELD_NAME 119 @@ -1093,7 +1092,7 @@ void ERR_load_X509_strings(void); # define X509_R_WRONG_LOOKUP_TYPE 112 # define X509_R_WRONG_TYPE 122 -#ifdef __cplusplus +# ifdef __cplusplus } -#endif +# endif #endif |