From dcd65cb98ec4a45e2b31359c006a41f9a4d5763a Mon Sep 17 00:00:00 2001 From: jsing <> Date: Thu, 12 Feb 2015 03:54:07 +0000 Subject: If you do not support POSIX I/O then you're not tall enough to ride... ok tedu@ --- src/lib/libcrypto/x509/by_dir.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/lib/libcrypto/x509') diff --git a/src/lib/libcrypto/x509/by_dir.c b/src/lib/libcrypto/x509/by_dir.c index 46003cb320..032210424d 100644 --- a/src/lib/libcrypto/x509/by_dir.c +++ b/src/lib/libcrypto/x509/by_dir.c @@ -1,4 +1,4 @@ -/* $OpenBSD: by_dir.c,v 1.35 2015/02/05 01:33:22 reyk Exp $ */ +/* $OpenBSD: by_dir.c,v 1.36 2015/02/12 03:54:07 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -70,9 +70,7 @@ #include #include -#ifndef OPENSSL_NO_POSIX_IO # include -#endif typedef struct lookup_dir_hashes_st { unsigned long hash; @@ -344,13 +342,11 @@ get_cert_by_subject(X509_LOOKUP *xl, int type, X509_NAME *name, (void) snprintf(b->data, b->max, "%s/%08lx.%s%d", ent->dir, h, postfix, k); -#ifndef OPENSSL_NO_POSIX_IO { struct stat st; if (stat(b->data, &st) < 0) break; } -#endif /* found one. */ if (type == X509_LU_X509) { if ((X509_load_cert_file(xl, b->data, -- cgit v1.2.3-55-g6feb