diff options
| author | jsing <> | 2014-09-27 11:01:06 +0000 | 
|---|---|---|
| committer | jsing <> | 2014-09-27 11:01:06 +0000 | 
| commit | 2e75e6d02f2e0d3b9d2ed384b0940da66d15244e (patch) | |
| tree | 9bdf9e8b5c2c33851369eba1c6947e8be6c47ad7 /src/lib/libssl/ssl_locl.h | |
| parent | 4e10b99e9f420212b077e11cb4f87d3f1f9e0f75 (diff) | |
| download | openbsd-2e75e6d02f2e0d3b9d2ed384b0940da66d15244e.tar.gz openbsd-2e75e6d02f2e0d3b9d2ed384b0940da66d15244e.tar.bz2 openbsd-2e75e6d02f2e0d3b9d2ed384b0940da66d15244e.zip | |
Check that the specified curve is one of the client preferences.
Based on OpenSSL.
ok miod@
Diffstat (limited to '')
| -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); | 
