void ressl_config_set_ca_file(struct ressl_config *config, char *ca_file);
void ressl_config_set_ca_path(struct ressl_config *config, char *ca_path);
+void ressl_config_set_cert_file(struct ressl_config *config, char *cert_file);
void ressl_config_set_ciphers(struct ressl_config *config, char *ciphers);
+void ressl_config_set_key_file(struct ressl_config *config, char *key_file);
void ressl_config_set_verify_depth(struct ressl_config *config,
int verify_depth);
}
void
-ressl_config_set_ciphers(struct ressl_config *config, char *ciphers)
+ressl_config_set_cert_file(struct ressl_config *config, char *cert_file)
{
- config->ciphers = ciphers;
+ config->cert_file = cert_file;
}
void
-ressl_config_insecure_no_verify(struct ressl_config *config)
+ressl_config_set_ciphers(struct ressl_config *config, char *ciphers)
{
- config->verify = 0;
+ config->ciphers = ciphers;
}
void
-ressl_config_verify(struct ressl_config *config)
+ressl_config_set_key_file(struct ressl_config *config, char *key_file)
{
- config->verify = 1;
+ config->key_file = key_file;
}
void
{
config->verify_depth = verify_depth;
}
+
+void
+ressl_config_insecure_no_verify(struct ressl_config *config)
+{
+ config->verify = 0;
+}
+
+void
+ressl_config_verify(struct ressl_config *config)
+{
+ config->verify = 1;
+}