diff options
Diffstat (limited to 'src/lib/libcrypto/x509/x509_lu.c')
-rw-r--r-- | src/lib/libcrypto/x509/x509_lu.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509/x509_lu.c b/src/lib/libcrypto/x509/x509_lu.c index 3fa572c7ef..69e11f35cb 100644 --- a/src/lib/libcrypto/x509/x509_lu.c +++ b/src/lib/libcrypto/x509/x509_lu.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_lu.c,v 1.42 2021/11/05 17:08:12 tb Exp $ */ | 1 | /* $OpenBSD: x509_lu.c,v 1.43 2021/11/05 17:09:36 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -134,8 +134,6 @@ X509_LOOKUP_by_subject(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, X509_NAME *name, | |||
134 | { | 134 | { |
135 | if (ctx->method == NULL || ctx->method->get_by_subject == NULL) | 135 | if (ctx->method == NULL || ctx->method->get_by_subject == NULL) |
136 | return 0; | 136 | return 0; |
137 | if (ctx->skip) | ||
138 | return 0; | ||
139 | return ctx->method->get_by_subject(ctx, type, name, ret); | 137 | return ctx->method->get_by_subject(ctx, type, name, ret); |
140 | } | 138 | } |
141 | 139 | ||