summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2019-05-31 19:52:45 +0200
committerRichard Levitte <levitte@openssl.org>2019-07-16 05:26:28 +0200
commitaac96e2797c34a6b2a839eb58c30ab3328a0cee8 (patch)
tree105434e5b948326f7846dce7a9a8fb7ff41974e6 /apps
parentRemove DRBG from SSL structure. (diff)
downloadopenssl-aac96e2797c34a6b2a839eb58c30ab3328a0cee8.tar.xz
openssl-aac96e2797c34a6b2a839eb58c30ab3328a0cee8.zip
Remove function name from errors
Deprecate all xxx_F_ defines. Removed some places that tested for a specific function. Use empty field for the function names in output. Update documentation. Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9058)
Diffstat (limited to 'apps')
-rw-r--r--apps/rsa.c1
-rw-r--r--apps/speed.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/apps/rsa.c b/apps/rsa.c
index 78958e053e..7c0620c6f2 100644
--- a/apps/rsa.c
+++ b/apps/rsa.c
@@ -227,7 +227,6 @@ int rsa_main(int argc, char **argv)
while ((err = ERR_peek_error()) != 0 &&
ERR_GET_LIB(err) == ERR_LIB_RSA &&
- ERR_GET_FUNC(err) == RSA_F_RSA_CHECK_KEY_EX &&
ERR_GET_REASON(err) != ERR_R_MALLOC_FAILURE) {
BIO_printf(out, "RSA key error: %s\n",
ERR_reason_error_string(err));
diff --git a/apps/speed.c b/apps/speed.c
index 88e0069742..d71b823f2a 100644
--- a/apps/speed.c
+++ b/apps/speed.c
@@ -3114,7 +3114,6 @@ int speed_main(int argc, char **argv)
if (error == ERR_peek_last_error() && /* oldest and latest errors match */
/* check that the error origin matches */
ERR_GET_LIB(error) == ERR_LIB_EVP &&
- ERR_GET_FUNC(error) == EVP_F_INT_CTX_NEW &&
ERR_GET_REASON(error) == EVP_R_UNSUPPORTED_ALGORITHM)
ERR_get_error(); /* pop error from queue */
if (ERR_peek_error()) {