diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2020-01-23 11:57:21 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2020-01-23 11:57:21 +0000 |
commit | 493db8f932b66456ae9311ff1d170477fa59672e (patch) | |
tree | 07b493ec991d18d49434b5e0908d8cb2f9f4f838 /lib/libssl/tls13_lib.c | |
parent | f4986df0b3a7cd27735f637db3e95e6122b45bbc (diff) |
Implement client hello processing in the TLSv1.3 server.
ok beck@
Diffstat (limited to 'lib/libssl/tls13_lib.c')
-rw-r--r-- | lib/libssl/tls13_lib.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libssl/tls13_lib.c b/lib/libssl/tls13_lib.c index 91dd566864f..473163ee76c 100644 --- a/lib/libssl/tls13_lib.c +++ b/lib/libssl/tls13_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tls13_lib.c,v 1.25 2020/01/23 10:40:59 jsing Exp $ */ +/* $OpenBSD: tls13_lib.c,v 1.26 2020/01/23 11:57:20 jsing Exp $ */ /* * Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org> * Copyright (c) 2019 Bob Beck <beck@openbsd.org> @@ -376,6 +376,9 @@ tls13_legacy_error(SSL *ssl) case TLS13_ERR_TRAILING_DATA: reason = SSL_R_EXTRA_DATA_IN_MESSAGE; break; + case TLS13_ERR_NO_SHARED_CIPHER: + reason = SSL_R_NO_SHARED_CIPHER; + break; } ERR_put_error(ERR_LIB_SSL, (0xfff), reason, ctx->error.file, |