summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/by_dir.c
diff options
context:
space:
mode:
authorderaadt <>2014-04-17 20:58:08 +0000
committerderaadt <>2014-04-17 20:58:08 +0000
commitdea2616f54bc531ab8af0d74ac00fd23f61ba61d (patch)
treea5c70a75ed1efb1996231f6e5bcd7edfd923d47c /src/lib/libcrypto/x509/by_dir.c
parent6800e69ce3db198d08e1e509efdb706f4d2b4cf0 (diff)
downloadopenbsd-dea2616f54bc531ab8af0d74ac00fd23f61ba61d.tar.gz
openbsd-dea2616f54bc531ab8af0d74ac00fd23f61ba61d.tar.bz2
openbsd-dea2616f54bc531ab8af0d74ac00fd23f61ba61d.zip
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 'src/lib/libcrypto/x509/by_dir.c')
-rw-r--r--src/lib/libcrypto/x509/by_dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/by_dir.c b/src/lib/libcrypto/x509/by_dir.c
index 76f8244f36..bc60331275 100644
--- a/src/lib/libcrypto/x509/by_dir.c
+++ b/src/lib/libcrypto/x509/by_dir.c
@@ -218,7 +218,7 @@ add_cert_dir(BY_DIR *ctx, const char *dir, int type)
218 s = dir; 218 s = dir;
219 p = s; 219 p = s;
220 do { 220 do {
221 if ((*p == LIST_SEPARATOR_CHAR) || (*p == '\0')) { 221 if ((*p == ':') || (*p == '\0')) {
222 BY_DIR_ENTRY *ent; 222 BY_DIR_ENTRY *ent;
223 ss = s; 223 ss = s;
224 s = p + 1; 224 s = p + 1;