diff options
author | jsing <> | 2014-09-27 11:01:06 +0000 |
---|---|---|
committer | jsing <> | 2014-09-27 11:01:06 +0000 |
commit | e82d769243512ab6c9b239e874920d017e626428 (patch) | |
tree | 9bdf9e8b5c2c33851369eba1c6947e8be6c47ad7 /src/lib/libssl/ssl_locl.h | |
parent | f2b4debf2dec428decbf29cca424c6ff07a4bd78 (diff) | |
download | openbsd-e82d769243512ab6c9b239e874920d017e626428.tar.gz openbsd-e82d769243512ab6c9b239e874920d017e626428.tar.bz2 openbsd-e82d769243512ab6c9b239e874920d017e626428.zip |
Check that the specified curve is one of the client preferences.
Based on OpenSSL.
ok miod@
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r-- | src/lib/libssl/ssl_locl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index 7c1aef68b1..3eee18cbd6 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.68 2014/09/07 12:16:23 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_locl.h,v 1.69 2014/09/27 11:01:06 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 | * |
@@ -798,6 +798,7 @@ SSL_COMP *ssl3_comp_find(STACK_OF(SSL_COMP) *sk, int n); | |||
798 | 798 | ||
799 | int tls1_ec_curve_id2nid(int curve_id); | 799 | int tls1_ec_curve_id2nid(int curve_id); |
800 | int tls1_ec_nid2curve_id(int nid); | 800 | int tls1_ec_nid2curve_id(int nid); |
801 | int tls1_check_curve(SSL *s, const unsigned char *p, size_t len); | ||
801 | 802 | ||
802 | unsigned char *ssl_add_clienthello_tlsext(SSL *s, unsigned char *p, | 803 | unsigned char *ssl_add_clienthello_tlsext(SSL *s, unsigned char *p, |
803 | unsigned char *limit); | 804 | unsigned char *limit); |