summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_local.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2022-07-27 14:54:48 +0100
committerMatt Caswell <matt@openssl.org>2022-08-18 16:38:14 +0100
commit226ed5fb390f8cfc8b80cea79f57ae7837bc9b96 (patch)
tree9614cfccf0117da63dade7256a4e4d684832f633 /ssl/ssl_local.h
parentefc84eacb7a500306c7cb55e4e2d707dfd9d1ac1 (diff)
Remove redefinition of SSL_AD_NO_ALERT
The SSL_AD_NO_ALERT value was defined in two places. We centralise its definition. Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18132)
Diffstat (limited to 'ssl/ssl_local.h')
-rw-r--r--ssl/ssl_local.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl/ssl_local.h b/ssl/ssl_local.h
index 7f5c8a0ba5..38b2c7e970 100644
--- a/ssl/ssl_local.h
+++ b/ssl/ssl_local.h
@@ -146,6 +146,7 @@
# define DTLS_VERSION_LT(v1, v2) (dtls_ver_ordinal(v1) > dtls_ver_ordinal(v2))
# define DTLS_VERSION_LE(v1, v2) (dtls_ver_ordinal(v1) >= dtls_ver_ordinal(v2))
+# define SSL_AD_NO_ALERT -1
/*
* Define the Bitmasks for SSL_CIPHER.algorithms.