This website requires JavaScript.
Explore
Help
Sign In
kris
/
boringssl
Watch
1
Star
0
Fork
0
You've already forked boringssl
Code
Issues
Pull Requests
Releases
Wiki
Activity
e72df93461
boringssl
/
crypto
/
err
/
dh.errordata
5 lines
92 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Get rid of err function codes. 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>
2015-06-29 04:36:21 +01:00
DH,100,BAD_GENERATOR
DH,101,INVALID_PUBKEY
DH,102,MODULUS_TOO_LARGE
DH,103,NO_PRIVATE_VALUE
Reference in New Issue
Copy Permalink