summaryrefslogtreecommitdiffstats
path: root/ssl/statem/statem.h
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2019-05-31 13:52:45 -0400
committerRichard Levitte <levitte@openssl.org>2019-07-16 05:26:28 +0200
commitaac96e2797c34a6b2a839eb58c30ab3328a0cee8 (patch)
tree105434e5b948326f7846dce7a9a8fb7ff41974e6 /ssl/statem/statem.h
parent3d9b33b5e48d82d098a1f8c37dbf616a0d84621c (diff)
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 'ssl/statem/statem.h')
-rw-r--r--ssl/statem/statem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/statem/statem.h b/ssl/statem/statem.h
index e26a5be0e2..a9309c967d 100644
--- a/ssl/statem/statem.h
+++ b/ssl/statem/statem.h
@@ -136,10 +136,10 @@ void ossl_statem_fatal(SSL *s, int al, int func, int reason, const char *file,
int line);
# define SSL_AD_NO_ALERT -1
# ifndef OPENSSL_NO_ERR
-# define SSLfatal(s, al, f, r) ossl_statem_fatal((s), (al), (f), (r), \
+# define SSLfatal(s, al, f, r) ossl_statem_fatal((s), (al), (0), (r), \
OPENSSL_FILE, OPENSSL_LINE)
# else
-# define SSLfatal(s, al, f, r) ossl_statem_fatal((s), (al), (f), (r), NULL, 0)
+# define SSLfatal(s, al, f, r) ossl_statem_fatal((s), (al), (0), (r), NULL, 0)
# endif
int ossl_statem_in_error(const SSL *s);