diff options
author | 2020-01-24 04:38:12 +0000 | |
---|---|---|
committer | 2020-01-24 04:38:12 +0000 | |
commit | b1b5d3f0646e4456ecfa4aed50369baecda7c272 (patch) | |
tree | ba1b877c8c86487f210ce69a6dccfca13c72a867 /lib/libssl/ssl_ciph.c | |
parent | Fix breakage in SSL_connect, SSL_accept, etc. by not propagating (diff) | |
download | wireguard-openbsd-b1b5d3f0646e4456ecfa4aed50369baecda7c272.tar.xz wireguard-openbsd-b1b5d3f0646e4456ecfa4aed50369baecda7c272.zip |
Add strings for SSL_aTLS1_3 and SSL_kTLS1_3 to SSL_CIPHER_description().
Mkaes `openssl ciphers -v` print au and kx values for TLSv1.3 cipher
suites.
ok beck@ tb@
Diffstat (limited to 'lib/libssl/ssl_ciph.c')
-rw-r--r-- | lib/libssl/ssl_ciph.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libssl/ssl_ciph.c b/lib/libssl/ssl_ciph.c index ed167efffd2..2eeeca033f5 100644 --- a/lib/libssl/ssl_ciph.c +++ b/lib/libssl/ssl_ciph.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_ciph.c,v 1.108 2019/04/04 16:44:24 jsing Exp $ */ +/* $OpenBSD: ssl_ciph.c,v 1.109 2020/01/24 04:38:12 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1383,6 +1383,9 @@ SSL_CIPHER_description(const SSL_CIPHER *cipher, char *buf, int len) case SSL_kGOST: kx = "GOST"; break; + case SSL_kTLS1_3: + au = "TLSv1.3"; + break; default: kx = "unknown"; } @@ -1403,6 +1406,9 @@ SSL_CIPHER_description(const SSL_CIPHER *cipher, char *buf, int len) case SSL_aGOST01: au = "GOST01"; break; + case SSL_aTLS1_3: + au = "TLSv1.3"; + break; default: au = "unknown"; break; |