summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authorjsing <>2018-11-05 06:55:37 +0000
committerjsing <>2018-11-05 06:55:37 +0000
commit6947abc46581e19432245e0ce409d468fb702c7d (patch)
tree1b8aa8d5399aca7e65610168e61564f2acac553b /src/lib/libssl/ssl_locl.h
parent2ab1af323eb2251dedee9fcb3661f284ae62b640 (diff)
downloadopenbsd-6947abc46581e19432245e0ce409d468fb702c7d.tar.gz
openbsd-6947abc46581e19432245e0ce409d468fb702c7d.tar.bz2
openbsd-6947abc46581e19432245e0ce409d468fb702c7d.zip
Clean up the code that checks if we can choose an EC cipher suite.
The tls1_check_ec_tmp_key() function is now rather misnamed, so just inline the code. Also, rather than running tls1_get_shared_curve() once per EC cipher suite, we can run it once at the start of the ssl3_choose_cipher() function. ok bluhm@ tb@
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r--src/lib/libssl/ssl_locl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index 8cedc29490..b11bb4ac61 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.217 2018/11/05 03:49:44 jsing Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.218 2018/11/05 06:55:37 jsing 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 *
@@ -1287,7 +1287,6 @@ void tls12_get_req_sig_algs(SSL *s, unsigned char **sigalgs,
1287 size_t *sigalgs_len); 1287 size_t *sigalgs_len);
1288 1288
1289int tls1_check_ec_server_key(SSL *s); 1289int tls1_check_ec_server_key(SSL *s);
1290int tls1_check_ec_tmp_key(SSL *s);
1291 1290
1292int ssl_add_clienthello_use_srtp_ext(SSL *s, unsigned char *p, 1291int ssl_add_clienthello_use_srtp_ext(SSL *s, unsigned char *p,
1293 int *len, int maxlen); 1292 int *len, int maxlen);