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 2f998d4561..2f8c721a15 100644 --- a/src/lib/libtls/tls.h +++ b/src/lib/libtls/tls.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls.h,v 1.40 2016/11/04 05:13:13 beck Exp $ */ | 1 | /* $OpenBSD: tls.h,v 1.41 2016/11/05 15:13:26 beck Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -106,6 +106,8 @@ int tls_config_set_keypair_file(struct tls_config *_config, | |||
106 | const char *_cert_file, const char *_key_file); | 106 | const char *_cert_file, const char *_key_file); |
107 | int tls_config_set_keypair_mem(struct tls_config *_config, const uint8_t *_cert, | 107 | int tls_config_set_keypair_mem(struct tls_config *_config, const uint8_t *_cert, |
108 | size_t _cert_len, const uint8_t *_key, size_t _key_len); | 108 | size_t _cert_len, const uint8_t *_key, size_t _key_len); |
109 | int tls_config_set_ocsp_staple_mem(struct tls_config *_config, char *_staple, size_t _len); | ||
110 | int tls_config_set_ocsp_staple_file(struct tls_config *_config, const char *_staple_file); | ||
109 | void tls_config_set_protocols(struct tls_config *_config, uint32_t _protocols); | 111 | void tls_config_set_protocols(struct tls_config *_config, uint32_t _protocols); |
110 | void tls_config_set_verify_depth(struct tls_config *_config, int _verify_depth); | 112 | void tls_config_set_verify_depth(struct tls_config *_config, int _verify_depth); |
111 | 113 | ||