summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_locl.h
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2016-02-21 18:02:36 +0100
committerKurt Roeckx <kurt@roeckx.be>2016-03-22 22:00:12 +0100
commit88a9614ba30e2d1f5b1b14df5814b824190d46f8 (patch)
treea02d744463e16f80ca1f44dd8c58989b4da59add /ssl/ssl_locl.h
parentd577a69a0f3a56146f644fda010e7efb2c0e693d (diff)
Check algo_strength using SSL_STRONG_MASK
algo_strength contains 2 parts that need to be checked by their own. Reviewed-by: Viktor Dukhovni <viktor@openssl.org> MR: #2082
Diffstat (limited to 'ssl/ssl_locl.h')
-rw-r--r--ssl/ssl_locl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h
index 4abe7b425f..64f4ae9373 100644
--- a/ssl/ssl_locl.h
+++ b/ssl/ssl_locl.h
@@ -417,6 +417,7 @@
*/
# define TLS1_STREAM_MAC 0x10000
+# define SSL_STRONG_MASK 0x0000001FU
# define SSL_DEFAULT_MASK 0X00000020U
# define SSL_STRONG_NONE 0x00000001U