diff options
Diffstat (limited to 'src/lib/libressl/ressl_config.c')
| -rw-r--r-- | src/lib/libressl/ressl_config.c | 12 |
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 | ||
| 53 | void | 53 | void |
| 54 | ressl_config_ca_file(struct ressl_config *config, char *ca_file) | 54 | ressl_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 | ||
| 59 | void | 59 | void |
| 60 | ressl_config_ca_path(struct ressl_config *config, char *ca_path) | 60 | ressl_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 | ||
| 65 | void | 65 | void |
| 66 | ressl_config_ciphers(struct ressl_config *config, char *ciphers) | 66 | ressl_config_set_ciphers(struct ressl_config *config, char *ciphers) |
| 67 | { | 67 | { |
| 68 | config->ciphers = ciphers; | 68 | config->ciphers = ciphers; |
| 69 | } | 69 | } |
| 70 | 70 | ||
| 71 | void | 71 | void |
| 72 | ressl_config_insecure(struct ressl_config *config) | 72 | ressl_config_insecure_no_verify(struct ressl_config *config) |
| 73 | { | 73 | { |
| 74 | config->verify = 0; | 74 | config->verify = 0; |
| 75 | } | 75 | } |
| 76 | 76 | ||
| 77 | void | 77 | void |
| 78 | ressl_config_secure(struct ressl_config *config) | 78 | ressl_config_verify(struct ressl_config *config) |
| 79 | { | 79 | { |
| 80 | config->verify = 1; | 80 | config->verify = 1; |
| 81 | } | 81 | } |
| 82 | 82 | ||
| 83 | void | 83 | void |
| 84 | ressl_config_verify_depth(struct ressl_config *config, int verify_depth) | 84 | ressl_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 | } |
