summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authorbeck <>2018-11-09 00:34:55 +0000
committerbeck <>2018-11-09 00:34:55 +0000
commit9d5673aba64ae0ef2a3cf86dfa9793d394a7cd6c (patch)
tree931f6037636eb2559f997c863050b18ff7fe93ab /src/lib/libssl/ssl_locl.h
parent0a537e488c3eafa2ea0bf8dacdcb4db1769a86f5 (diff)
downloadopenbsd-9d5673aba64ae0ef2a3cf86dfa9793d394a7cd6c.tar.gz
openbsd-9d5673aba64ae0ef2a3cf86dfa9793d394a7cd6c.tar.bz2
openbsd-9d5673aba64ae0ef2a3cf86dfa9793d394a7cd6c.zip
Reimplement the sigalgs processing code into a new implementation
that will be usable with TLS 1.3 with less eye bleed. ok jsing@ tb@
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r--src/lib/libssl/ssl_locl.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index 3b08f8c772..8567c51c67 100644
--- a/src/lib/libssl/ssl_locl.h
+++ b/src/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_locl.h,v 1.222 2018/11/08 22:28:52 jsing Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.223 2018/11/09 00:34:55 beck Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -1286,15 +1286,9 @@ int ssl_check_serverhello_tlsext(SSL *s);
1286#define tlsext_tick_md EVP_sha256 1286#define tlsext_tick_md EVP_sha256
1287int tls1_process_ticket(SSL *s, const unsigned char *session_id, 1287int tls1_process_ticket(SSL *s, const unsigned char *session_id,
1288 int session_id_len, CBS *ext_block, SSL_SESSION **ret); 1288 int session_id_len, CBS *ext_block, SSL_SESSION **ret);
1289int tls12_get_hashid(const EVP_MD *md);
1290int tls12_get_sigid(const EVP_PKEY *pk);
1291int tls12_get_hashandsig(CBB *cbb, const EVP_PKEY *pk, const EVP_MD *md);
1292const EVP_MD *tls12_get_hash(unsigned char hash_alg);
1293 1289
1294long ssl_get_algorithm2(SSL *s); 1290long ssl_get_algorithm2(SSL *s);
1295int tls1_process_sigalgs(SSL *s, CBS *cbs); 1291int tls1_process_sigalgs(SSL *s, CBS *cbs);
1296void tls12_get_req_sig_algs(SSL *s, unsigned char **sigalgs,
1297 size_t *sigalgs_len);
1298 1292
1299int tls1_check_ec_server_key(SSL *s); 1293int tls1_check_ec_server_key(SSL *s);
1300 1294