diff options
author | beck <> | 2019-11-16 06:44:33 +0000 |
---|---|---|
committer | beck <> | 2019-11-16 06:44:33 +0000 |
commit | f117145dc734838631aa48f433feb3d75a02a184 (patch) | |
tree | cc00cad3dd1d3312a1ee097f4017a93682e43c6b /src/lib/libtls/tls_config.c | |
parent | 6ed1a438e76e4b38c933c65009239e991044c6b7 (diff) | |
download | openbsd-f117145dc734838631aa48f433feb3d75a02a184.tar.gz openbsd-f117145dc734838631aa48f433feb3d75a02a184.tar.bz2 openbsd-f117145dc734838631aa48f433feb3d75a02a184.zip |
Allow portable to override the default CA bundle location
ok kinichiro@ jsing@
Diffstat (limited to 'src/lib/libtls/tls_config.c')
-rw-r--r-- | src/lib/libtls/tls_config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libtls/tls_config.c b/src/lib/libtls/tls_config.c index 6a717abd48..424fd73c93 100644 --- a/src/lib/libtls/tls_config.c +++ b/src/lib/libtls/tls_config.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls_config.c,v 1.56 2019/04/04 15:09:09 jsing Exp $ */ | 1 | /* $OpenBSD: tls_config.c,v 1.57 2019/11/16 06:44:33 beck Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -28,7 +28,7 @@ | |||
28 | 28 | ||
29 | #include "tls_internal.h" | 29 | #include "tls_internal.h" |
30 | 30 | ||
31 | static const char default_ca_file[] = "/etc/ssl/cert.pem"; | 31 | static const char default_ca_file[] = TLS_DEFAULT_CA_FILE; |
32 | 32 | ||
33 | const char * | 33 | const char * |
34 | tls_default_ca_cert_file(void) | 34 | tls_default_ca_cert_file(void) |