diff options
author | 2014-09-19 16:02:35 +0000 | |
---|---|---|
committer | 2014-09-19 16:02:35 +0000 | |
commit | af24a9cf785ae193f8cd9fbfb41a1f3fb9c2a31d (patch) | |
tree | 025b37019afd762cbf1c65528a6f1614da1de219 /lib/libssl/ssl_ciph.c | |
parent | remove obfuscating parens. man operator is your friend. (diff) | |
download | wireguard-openbsd-af24a9cf785ae193f8cd9fbfb41a1f3fb9c2a31d.tar.xz wireguard-openbsd-af24a9cf785ae193f8cd9fbfb41a1f3fb9c2a31d.zip |
Add CHACHA20 as a cipher symmetric encryption alias.
From Ming <gzchenym at 126.com>
Diffstat (limited to 'lib/libssl/ssl_ciph.c')
-rw-r--r-- | lib/libssl/ssl_ciph.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libssl/ssl_ciph.c b/lib/libssl/ssl_ciph.c index 701d0f2277e..586ae139745 100644 --- a/lib/libssl/ssl_ciph.c +++ b/lib/libssl/ssl_ciph.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_ciph.c,v 1.67 2014/09/07 12:16:23 jsing Exp $ */ +/* $OpenBSD: ssl_ciph.c,v 1.68 2014/09/19 16:02:35 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -413,6 +413,10 @@ static const SSL_CIPHER cipher_aliases[] = { .name = SSL_TXT_CAMELLIA, .algorithm_enc = SSL_CAMELLIA128|SSL_CAMELLIA256, }, + { + .name = SSL_TXT_CHACHA20, + .algorithm_enc = SSL_CHACHA20POLY1305, + }, /* MAC aliases */ { |