summaryrefslogtreecommitdiff
path: root/lib/libssl/ssl_sigalgs.h
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2019-01-23 16:46:05 +0000
committerBob Beck <beck@cvs.openbsd.org>2019-01-23 16:46:05 +0000
commit8c826b36cd980bffc73b25028700da20f2e49e3f (patch)
tree2a65d7cb73354210b94fce0407624f772ae0b154 /lib/libssl/ssl_sigalgs.h
parent38ed6feaf741dfa033615e3510c322f6e2f6caad (diff)
Modify sigalgs extension processing for TLS 1.3.
- Make a separate sigalgs list for TLS 1.3 including only modern algorithm choices which we use when the handshake will not negotiate TLS 1.2 - Modify the legacy sigalgs for TLS 1.2 to include the RSA PSS algorithms as mandated by RFC8446 when the handshake will permit negotiation of TLS 1.2 ok jsing@ tb@
Diffstat (limited to 'lib/libssl/ssl_sigalgs.h')
-rw-r--r--lib/libssl/ssl_sigalgs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libssl/ssl_sigalgs.h b/lib/libssl/ssl_sigalgs.h
index 5ae595835b3..8ea4df9e315 100644
--- a/lib/libssl/ssl_sigalgs.h
+++ b/lib/libssl/ssl_sigalgs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_sigalgs.h,v 1.8 2018/11/16 02:41:16 beck Exp $ */
+/* $OpenBSD: ssl_sigalgs.h,v 1.9 2019/01/23 16:46:04 beck Exp $ */
/*
* Copyright (c) 2018, Bob Beck <beck@openbsd.org>
*
@@ -71,6 +71,8 @@ struct ssl_sigalg{
extern uint16_t tls12_sigalgs[];
extern size_t tls12_sigalgs_len;
+extern uint16_t tls13_sigalgs[];
+extern size_t tls13_sigalgs_len;
const struct ssl_sigalg *ssl_sigalg_lookup(uint16_t sigalg);
const struct ssl_sigalg *ssl_sigalg(uint16_t sigalg, uint16_t *values, size_t len);