diff options
| author | jsing <> | 2014-08-06 01:54:01 +0000 |
|---|---|---|
| committer | jsing <> | 2014-08-06 01:54:01 +0000 |
| commit | dc860cce8cac979d32044dea2c9f226c37c3e931 (patch) | |
| tree | 4078c1ca5f3aed03285687c8b675da3f2275e5c9 /src/lib/libressl/ressl.h | |
| parent | 4c93f0a4963775b85819da09fc24027ea5d33bc9 (diff) | |
| download | openbsd-dc860cce8cac979d32044dea2c9f226c37c3e931.tar.gz openbsd-dc860cce8cac979d32044dea2c9f226c37c3e931.tar.bz2 openbsd-dc860cce8cac979d32044dea2c9f226c37c3e931.zip | |
Add support for loading the public/private key from memory, rather than
directly from file.
Diffstat (limited to 'src/lib/libressl/ressl.h')
| -rw-r--r-- | src/lib/libressl/ressl.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libressl/ressl.h b/src/lib/libressl/ressl.h index b9ae809be4..0b437c4ad9 100644 --- a/src/lib/libressl/ressl.h +++ b/src/lib/libressl/ressl.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ressl.h,v 1.10 2014/08/05 12:46:16 jsing Exp $ */ | 1 | /* $OpenBSD: ressl.h,v 1.11 2014/08/06 01:54:01 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -34,8 +34,12 @@ void ressl_config_free(struct ressl_config *config); | |||
| 34 | void ressl_config_set_ca_file(struct ressl_config *config, char *ca_file); | 34 | void ressl_config_set_ca_file(struct ressl_config *config, char *ca_file); |
| 35 | void ressl_config_set_ca_path(struct ressl_config *config, char *ca_path); | 35 | void ressl_config_set_ca_path(struct ressl_config *config, char *ca_path); |
| 36 | void ressl_config_set_cert_file(struct ressl_config *config, char *cert_file); | 36 | 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, | ||
| 38 | size_t len); | ||
| 37 | void ressl_config_set_ciphers(struct ressl_config *config, char *ciphers); | 39 | void ressl_config_set_ciphers(struct ressl_config *config, char *ciphers); |
| 38 | void ressl_config_set_key_file(struct ressl_config *config, char *key_file); | 40 | 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 | size_t len); | ||
| 39 | void ressl_config_set_verify_depth(struct ressl_config *config, | 43 | void ressl_config_set_verify_depth(struct ressl_config *config, |
| 40 | int verify_depth); | 44 | int verify_depth); |
| 41 | 45 | ||
