diff options
Diffstat (limited to 'src/lib/libressl/ressl.h')
-rw-r--r-- | src/lib/libressl/ressl.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/lib/libressl/ressl.h b/src/lib/libressl/ressl.h index 5217a69c15..d044cd4fdc 100644 --- a/src/lib/libressl/ressl.h +++ b/src/lib/libressl/ressl.h | |||
@@ -17,14 +17,24 @@ | |||
17 | #ifndef HEADER_RESSL_H | 17 | #ifndef HEADER_RESSL_H |
18 | #define HEADER_RESSL_H | 18 | #define HEADER_RESSL_H |
19 | 19 | ||
20 | #include <ressl/ressl_config.h> | ||
21 | |||
22 | struct ressl; | 20 | struct ressl; |
21 | struct ressl_config; | ||
23 | 22 | ||
24 | int ressl_init(void); | 23 | int ressl_init(void); |
25 | 24 | ||
26 | const char *ressl_error(struct ressl *ctx); | 25 | const char *ressl_error(struct ressl *ctx); |
27 | 26 | ||
27 | struct ressl_config *ressl_config_new(void); | ||
28 | void ressl_config_free(struct ressl_config *config); | ||
29 | |||
30 | void ressl_config_ca_file(struct ressl_config *config, char *ca_file); | ||
31 | void ressl_config_ca_path(struct ressl_config *config, char *ca_path); | ||
32 | void ressl_config_ciphers(struct ressl_config *config, char *ciphers); | ||
33 | void ressl_config_verify_depth(struct ressl_config *config, int verify_depth); | ||
34 | |||
35 | void ressl_config_insecure(struct ressl_config *config); | ||
36 | void ressl_config_secure(struct ressl_config *config); | ||
37 | |||
28 | struct ressl *ressl_new(struct ressl_config *config); | 38 | struct ressl *ressl_new(struct ressl_config *config); |
29 | void ressl_reset(struct ressl *ctx); | 39 | void ressl_reset(struct ressl *ctx); |
30 | void ressl_free(struct ressl *ctx); | 40 | void ressl_free(struct ressl *ctx); |