34248d4cb7
Running make_errors.go every time a function is renamed is incredibly tedious. Plus we keep getting them wrong. Instead, sample __func__ (__FUNCTION__ in MSVC) in the OPENSSL_PUT_ERROR macro and store it alongside file and line number. This doesn't change the format of ERR_print_errors, however ERR_error_string_n now uses the placeholder "OPENSSL_internal" rather than an actual function name since that only takes the uint32_t packed error code as input. This updates err scripts to not emit the function string table. The OPENSSL_PUT_ERROR invocations, for now, still include the extra parameter. That will be removed in a follow-up. BUG=468039 Change-Id: Iaa2ef56991fb58892fa8a1283b3b8b995fbb308d Reviewed-on: https://boringssl-review.googlesource.com/5275 Reviewed-by: Adam Langley <agl@google.com>
18 lines
405 B
Plaintext
18 lines
405 B
Plaintext
BIO,100,BAD_FOPEN_MODE
|
|
BIO,101,BROKEN_PIPE
|
|
BIO,102,CONNECT_ERROR
|
|
BIO,103,ERROR_SETTING_NBIO
|
|
BIO,104,INVALID_ARGUMENT
|
|
BIO,105,IN_USE
|
|
BIO,106,KEEPALIVE
|
|
BIO,107,NBIO_CONNECT_ERROR
|
|
BIO,108,NO_HOSTNAME_SPECIFIED
|
|
BIO,109,NO_PORT_SPECIFIED
|
|
BIO,110,NO_SUCH_FILE
|
|
BIO,111,NULL_PARAMETER
|
|
BIO,112,SYS_LIB
|
|
BIO,113,UNABLE_TO_CREATE_SOCKET
|
|
BIO,114,UNINITIALIZED
|
|
BIO,115,UNSUPPORTED_METHOD
|
|
BIO,116,WRITE_TO_READ_ONLY_BIO
|