diff options
author | reyk <> | 2014-08-27 10:46:53 +0000 |
---|---|---|
committer | reyk <> | 2014-08-27 10:46:53 +0000 |
commit | 10e31157bd2d409218ed09f4b52af2de773a8a0f (patch) | |
tree | 6959d89a329bfde79fac24d2c75497ac68a02cc4 /src/lib/libressl/ressl_internal.h | |
parent | 35ccc7b528b967f2e5c6d562a48ff5a2907ba8e7 (diff) | |
download | openbsd-10e31157bd2d409218ed09f4b52af2de773a8a0f.tar.gz openbsd-10e31157bd2d409218ed09f4b52af2de773a8a0f.tar.bz2 openbsd-10e31157bd2d409218ed09f4b52af2de773a8a0f.zip |
Add the API function ressl_config_set_ecdhcurve(config, name) to set a
non-standard ECDH curve by name or to disable it by passing NULL.
OK jsing@
Diffstat (limited to 'src/lib/libressl/ressl_internal.h')
-rw-r--r-- | src/lib/libressl/ressl_internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libressl/ressl_internal.h b/src/lib/libressl/ressl_internal.h index 3f667526ad..02dded3e7e 100644 --- a/src/lib/libressl/ressl_internal.h +++ b/src/lib/libressl/ressl_internal.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ressl_internal.h,v 1.9 2014/08/06 01:54:01 jsing Exp $ */ | 1 | /* $OpenBSD: ressl_internal.h,v 1.10 2014/08/27 10:46:53 reyk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Jeremie Courreges-Anglas <jca@openbsd.org> | 3 | * Copyright (c) 2014 Jeremie Courreges-Anglas <jca@openbsd.org> |
4 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 4 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
@@ -32,6 +32,7 @@ struct ressl_config { | |||
32 | char *cert_mem; | 32 | char *cert_mem; |
33 | size_t cert_len; | 33 | size_t cert_len; |
34 | const char *ciphers; | 34 | const char *ciphers; |
35 | int ecdhcurve; | ||
35 | const char *key_file; | 36 | const char *key_file; |
36 | char *key_mem; | 37 | char *key_mem; |
37 | size_t key_len; | 38 | size_t key_len; |