diff options
author | June McEnroe <june@causal.agency> | 2020-07-31 20:58:06 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-07-31 23:10:24 -0400 |
commit | d5fc754c283290ea5279b9e6be3d4d2ee8355415 (patch) | |
tree | f6041a75dd6a12cbcd8ff4cef946f920d95fc5bd /tls_config.c | |
parent | tls_internal: Replace default ciphers with compat (diff) | |
download | libretls-d5fc754c283290ea5279b9e6be3d4d2ee8355415.tar.gz libretls-d5fc754c283290ea5279b9e6be3d4d2ee8355415.zip |
tls_config: Replace constant with X509_get_default_cert_file()
Diffstat (limited to '')
-rw-r--r-- | tls_config.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tls_config.c b/tls_config.c index 2f7a492..6c3404c 100644 --- a/tls_config.c +++ b/tls_config.c @@ -25,16 +25,16 @@ #include <string.h> #include <unistd.h> +#include <openssl/x509.h> + #include <tls.h> #include "tls_internal.h" -static const char default_ca_file[] = TLS_DEFAULT_CA_FILE; - const char * tls_default_ca_cert_file(void) { - return default_ca_file; + return X509_get_default_cert_file(); } int |