diff options
Diffstat (limited to 'src/lib/libtls/tls.h')
-rw-r--r-- | src/lib/libtls/tls.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libtls/tls.h b/src/lib/libtls/tls.h index 21e1d74b35..8dcf125765 100644 --- a/src/lib/libtls/tls.h +++ b/src/lib/libtls/tls.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls.h,v 1.2 2014/11/02 14:45:05 jsing Exp $ */ | 1 | /* $OpenBSD: tls.h,v 1.3 2015/01/22 09:16:24 reyk Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -42,6 +42,8 @@ void tls_config_free(struct tls_config *config); | |||
42 | 42 | ||
43 | int tls_config_set_ca_file(struct tls_config *config, const char *ca_file); | 43 | int tls_config_set_ca_file(struct tls_config *config, const char *ca_file); |
44 | int tls_config_set_ca_path(struct tls_config *config, const char *ca_path); | 44 | int tls_config_set_ca_path(struct tls_config *config, const char *ca_path); |
45 | int tls_config_set_ca_mem(struct tls_config *config, const uint8_t *ca, | ||
46 | size_t len); | ||
45 | int tls_config_set_cert_file(struct tls_config *config, const char *cert_file); | 47 | int tls_config_set_cert_file(struct tls_config *config, const char *cert_file); |
46 | int tls_config_set_cert_mem(struct tls_config *config, const uint8_t *cert, | 48 | int tls_config_set_cert_mem(struct tls_config *config, const uint8_t *cert, |
47 | size_t len); | 49 | size_t len); |