summaryrefslogtreecommitdiff
path: root/src/lib/libressl/ressl_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libressl/ressl_config.c')
-rw-r--r--src/lib/libressl/ressl_config.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libressl/ressl_config.c b/src/lib/libressl/ressl_config.c
index 3932b96add..ebca78e413 100644
--- a/src/lib/libressl/ressl_config.c
+++ b/src/lib/libressl/ressl_config.c
@@ -51,37 +51,37 @@ ressl_config_free(struct ressl_config *config)
51} 51}
52 52
53void 53void
54ressl_config_ca_file(struct ressl_config *config, char *ca_file) 54ressl_config_set_ca_file(struct ressl_config *config, char *ca_file)
55{ 55{
56 config->ca_file = ca_file; 56 config->ca_file = ca_file;
57} 57}
58 58
59void 59void
60ressl_config_ca_path(struct ressl_config *config, char *ca_path) 60ressl_config_set_ca_path(struct ressl_config *config, char *ca_path)
61{ 61{
62 config->ca_path = ca_path; 62 config->ca_path = ca_path;
63} 63}
64 64
65void 65void
66ressl_config_ciphers(struct ressl_config *config, char *ciphers) 66ressl_config_set_ciphers(struct ressl_config *config, char *ciphers)
67{ 67{
68 config->ciphers = ciphers; 68 config->ciphers = ciphers;
69} 69}
70 70
71void 71void
72ressl_config_insecure(struct ressl_config *config) 72ressl_config_insecure_no_verify(struct ressl_config *config)
73{ 73{
74 config->verify = 0; 74 config->verify = 0;
75} 75}
76 76
77void 77void
78ressl_config_secure(struct ressl_config *config) 78ressl_config_verify(struct ressl_config *config)
79{ 79{
80 config->verify = 1; 80 config->verify = 1;
81} 81}
82 82
83void 83void
84ressl_config_verify_depth(struct ressl_config *config, int verify_depth) 84ressl_config_set_verify_depth(struct ressl_config *config, int verify_depth)
85{ 85{
86 config->verify_depth = verify_depth; 86 config->verify_depth = verify_depth;
87} 87}