the unused cache member of X509_STORE.
ok jsing
*/
struct x509_store_st {
/* The following is a cache of trusted certs */
- int cache; /* if true, stash any hits */
STACK_OF(X509_OBJECT) *objs; /* Cache of all objects */
/* These are external lookup methods */
/* This is the functions plus an instance of the local variables. */
struct x509_lookup_st {
int init; /* have we been started */
- int skip; /* don't use us. */
X509_LOOKUP_METHOD *method; /* the functions */
char *method_data; /* method data */
-/* $OpenBSD: x509_lu.c,v 1.42 2021/11/05 17:08:12 tb Exp $ */
+/* $OpenBSD: x509_lu.c,v 1.43 2021/11/05 17:09:36 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
{
if (ctx->method == NULL || ctx->method->get_by_subject == NULL)
return 0;
- if (ctx->skip)
- return 0;
return ctx->method->get_by_subject(ctx, type, name, ret);
}