diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libtls/tls.h | 9 | 
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/libtls/tls.h b/src/lib/libtls/tls.h index 1a6257232c..579a97798e 100644 --- a/src/lib/libtls/tls.h +++ b/src/lib/libtls/tls.h  | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: tls.h,v 1.14 2015/09/09 19:23:04 beck Exp $ */ | 1 | /* $OpenBSD: tls.h,v 1.15 2015/09/10 09:10:42 jsing Exp $ */ | 
| 2 | /* | 2 | /* | 
| 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 
| 4 | * | 4 | * | 
| @@ -66,8 +66,8 @@ int tls_config_set_key_mem(struct tls_config *_config, const uint8_t *_key, | |||
| 66 | void tls_config_set_protocols(struct tls_config *_config, uint32_t _protocols); | 66 | void tls_config_set_protocols(struct tls_config *_config, uint32_t _protocols); | 
| 67 | void tls_config_set_verify_depth(struct tls_config *_config, int _verify_depth); | 67 | void tls_config_set_verify_depth(struct tls_config *_config, int _verify_depth); | 
| 68 | 68 | ||
| 69 | void tls_config_clear_keys(struct tls_config *_config); | 69 | void tls_config_prefer_ciphers_client(struct tls_config *_config); | 
| 70 | int tls_config_parse_protocols(uint32_t *_protocols, const char *_protostr); | 70 | void tls_config_prefer_ciphers_server(struct tls_config *_config); | 
| 71 | 71 | ||
| 72 | void tls_config_insecure_noverifycert(struct tls_config *_config); | 72 | void tls_config_insecure_noverifycert(struct tls_config *_config); | 
| 73 | void tls_config_insecure_noverifyname(struct tls_config *_config); | 73 | void tls_config_insecure_noverifyname(struct tls_config *_config); | 
| @@ -76,6 +76,9 @@ void tls_config_verify(struct tls_config *_config); | |||
| 76 | void tls_config_verify_client(struct tls_config *_config); | 76 | void tls_config_verify_client(struct tls_config *_config); | 
| 77 | void tls_config_verify_client_optional(struct tls_config *_config); | 77 | void tls_config_verify_client_optional(struct tls_config *_config); | 
| 78 | 78 | ||
| 79 | void tls_config_clear_keys(struct tls_config *_config); | ||
| 80 | int tls_config_parse_protocols(uint32_t *_protocols, const char *_protostr); | ||
| 81 | |||
| 79 | struct tls *tls_client(void); | 82 | struct tls *tls_client(void); | 
| 80 | struct tls *tls_server(void); | 83 | struct tls *tls_server(void); | 
| 81 | int tls_configure(struct tls *_ctx, struct tls_config *_config); | 84 | int tls_configure(struct tls *_ctx, struct tls_config *_config); | 
