summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_ciph.c
diff options
context:
space:
mode:
authorjsing <>2015-01-26 13:06:39 +0000
committerjsing <>2015-01-26 13:06:39 +0000
commite23e84e71c85db5dd37817db7f71dc7a202bc74d (patch)
tree55223ef44f1c40cb3c640481670b74a12ab5802f /src/lib/libssl/ssl_ciph.c
parente7b94f3e0e803b7bea11d0c8a568dafe4a462f3b (diff)
downloadopenbsd-e23e84e71c85db5dd37817db7f71dc7a202bc74d.tar.gz
openbsd-e23e84e71c85db5dd37817db7f71dc7a202bc74d.tar.bz2
openbsd-e23e84e71c85db5dd37817db7f71dc7a202bc74d.zip
Add AEAD as a "MAC alias" so that it is possible to identify/select ciphers
that use AEAD instead of a MAC. This allows for TLSv1.2 AEAD ciphers (effectively the only ciphers that are still considered to be secure) to be selected using TLSv1.2+AEAD as a cipher string. ok bcook@ doug@ miod@
Diffstat (limited to 'src/lib/libssl/ssl_ciph.c')
-rw-r--r--src/lib/libssl/ssl_ciph.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_ciph.c b/src/lib/libssl/ssl_ciph.c
index afc31d7816..ce82c2705c 100644
--- a/src/lib/libssl/ssl_ciph.c
+++ b/src/lib/libssl/ssl_ciph.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_ciph.c,v 1.79 2014/12/14 15:30:50 jsing Exp $ */ 1/* $OpenBSD: ssl_ciph.c,v 1.80 2015/01/26 13:06:39 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -419,6 +419,10 @@ static const SSL_CIPHER cipher_aliases[] = {
419 419
420 /* MAC aliases */ 420 /* MAC aliases */
421 { 421 {
422 .name = SSL_TXT_AEAD,
423 .algorithm_mac = SSL_AEAD,
424 },
425 {
422 .name = SSL_TXT_MD5, 426 .name = SSL_TXT_MD5,
423 .algorithm_mac = SSL_MD5, 427 .algorithm_mac = SSL_MD5,
424 }, 428 },