summaryrefslogtreecommitdiff
path: root/src/lib/libressl/ressl_internal.h
diff options
context:
space:
mode:
authorreyk <>2014-08-27 10:46:53 +0000
committerreyk <>2014-08-27 10:46:53 +0000
commit10e31157bd2d409218ed09f4b52af2de773a8a0f (patch)
tree6959d89a329bfde79fac24d2c75497ac68a02cc4 /src/lib/libressl/ressl_internal.h
parent35ccc7b528b967f2e5c6d562a48ff5a2907ba8e7 (diff)
downloadopenbsd-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.h3
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;