diff options
Diffstat (limited to 'src/lib/libtls/tls.h')
-rw-r--r-- | src/lib/libtls/tls.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libtls/tls.h b/src/lib/libtls/tls.h index 2f8c721a15..edf7343f2f 100644 --- a/src/lib/libtls/tls.h +++ b/src/lib/libtls/tls.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls.h,v 1.41 2016/11/05 15:13:26 beck Exp $ */ | 1 | /* $OpenBSD: tls.h,v 1.42 2016/11/11 14:02:24 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -108,8 +108,8 @@ 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); | 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); | 110 | int tls_config_set_ocsp_staple_file(struct tls_config *_config, const char *_staple_file); |
111 | void tls_config_set_protocols(struct tls_config *_config, uint32_t _protocols); | 111 | int tls_config_set_protocols(struct tls_config *_config, uint32_t _protocols); |
112 | void tls_config_set_verify_depth(struct tls_config *_config, int _verify_depth); | 112 | int tls_config_set_verify_depth(struct tls_config *_config, int _verify_depth); |
113 | 113 | ||
114 | void tls_config_prefer_ciphers_client(struct tls_config *_config); | 114 | void tls_config_prefer_ciphers_client(struct tls_config *_config); |
115 | void tls_config_prefer_ciphers_server(struct tls_config *_config); | 115 | void tls_config_prefer_ciphers_server(struct tls_config *_config); |