diff options
author | 2019-01-21 00:31:29 +0000 | |
---|---|---|
committer | 2019-01-21 00:31:29 +0000 | |
commit | 532dadf9a1590232c995d3453da78d8ef7e9aa41 (patch) | |
tree | 2944f94cda7d076d1e4af17edd6368fe84c153ab /lib/libssl/ssl_lib.c | |
parent | Store the record version and make it available for use. (diff) | |
download | wireguard-openbsd-532dadf9a1590232c995d3453da78d8ef7e9aa41.tar.xz wireguard-openbsd-532dadf9a1590232c995d3453da78d8ef7e9aa41.zip |
Teach ssl_version_string() about TLS1_3_VERSION.
Diffstat (limited to 'lib/libssl/ssl_lib.c')
-rw-r--r-- | lib/libssl/ssl_lib.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libssl/ssl_lib.c b/lib/libssl/ssl_lib.c index 37db478b057..4ea47e90949 100644 --- a/lib/libssl/ssl_lib.c +++ b/lib/libssl/ssl_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_lib.c,v 1.196 2018/11/19 15:07:29 jsing Exp $ */ +/* $OpenBSD: ssl_lib.c,v 1.197 2019/01/21 00:31:29 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -2492,6 +2492,8 @@ ssl_version_string(int ver) return (SSL_TXT_TLSV1_1); case TLS1_2_VERSION: return (SSL_TXT_TLSV1_2); + case TLS1_3_VERSION: + return (SSL_TXT_TLSV1_3); default: return ("unknown"); } |