summaryrefslogtreecommitdiff
path: root/lib/libcrypto/x509/by_dir.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-04-17 20:58:09 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-04-17 20:58:09 +0000
commite9944120ce7facca567c5eba38239a4945b12662 (patch)
tree2fcbc99d4953bd2ca4e44980e723cbad8037aabe /lib/libcrypto/x509/by_dir.c
parent165e92934c7d1f61402e446657088919175ac631 (diff)
Mostly gut e_os.h:
USE_SOCKETS is unrelated to using sockets, but just pulls in .h files. It makes every file buy a kitchen sink, because 11 files forgot to. EXIT() is really exit(), a gentle surprise but... OPENSSL_EXIT() is really just return(), because noone compiles the openssl command non-monolithic anymore
Diffstat (limited to 'lib/libcrypto/x509/by_dir.c')
-rw-r--r--lib/libcrypto/x509/by_dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypto/x509/by_dir.c b/lib/libcrypto/x509/by_dir.c
index 76f8244f364..bc603312752 100644
--- a/lib/libcrypto/x509/by_dir.c
+++ b/lib/libcrypto/x509/by_dir.c
@@ -218,7 +218,7 @@ add_cert_dir(BY_DIR *ctx, const char *dir, int type)
s = dir;
p = s;
do {
- if ((*p == LIST_SEPARATOR_CHAR) || (*p == '\0')) {
+ if ((*p == ':') || (*p == '\0')) {
BY_DIR_ENTRY *ent;
ss = s;
s = p + 1;