diff options
author | reyk <> | 2014-08-27 10:46:53 +0000 |
---|---|---|
committer | reyk <> | 2014-08-27 10:46:53 +0000 |
commit | 53af341ab4ddf76dd1e37a37e28a8fecbe0461a5 (patch) | |
tree | 6959d89a329bfde79fac24d2c75497ac68a02cc4 /src/lib/libressl/ressl.h | |
parent | e7071bb662fc1f70baf6d79ca227dd31607f7562 (diff) | |
download | openbsd-53af341ab4ddf76dd1e37a37e28a8fecbe0461a5.tar.gz openbsd-53af341ab4ddf76dd1e37a37e28a8fecbe0461a5.tar.bz2 openbsd-53af341ab4ddf76dd1e37a37e28a8fecbe0461a5.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.h')
-rw-r--r-- | src/lib/libressl/ressl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libressl/ressl.h b/src/lib/libressl/ressl.h index 46672d97cb..ebd589313b 100644 --- a/src/lib/libressl/ressl.h +++ b/src/lib/libressl/ressl.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ressl.h,v 1.12 2014/08/15 16:55:32 tedu Exp $ */ | 1 | /* $OpenBSD: ressl.h,v 1.13 2014/08/27 10:46:53 reyk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -37,6 +37,7 @@ void ressl_config_set_cert_file(struct ressl_config *config, char *cert_file); | |||
37 | void ressl_config_set_cert_mem(struct ressl_config *config, char *cert, | 37 | void ressl_config_set_cert_mem(struct ressl_config *config, char *cert, |
38 | size_t len); | 38 | size_t len); |
39 | void ressl_config_set_ciphers(struct ressl_config *config, char *ciphers); | 39 | void ressl_config_set_ciphers(struct ressl_config *config, char *ciphers); |
40 | int ressl_config_set_ecdhcurve(struct ressl_config *config, const char *); | ||
40 | void ressl_config_set_key_file(struct ressl_config *config, char *key_file); | 41 | void ressl_config_set_key_file(struct ressl_config *config, char *key_file); |
41 | void ressl_config_set_key_mem(struct ressl_config *config, char *key, | 42 | void ressl_config_set_key_mem(struct ressl_config *config, char *key, |
42 | size_t len); | 43 | size_t len); |