$NetBSD: patch-aa,v 1.1 2006/01/05 19:00:11 joerg Exp $ --- src/openssl/x509vfy.c.orig 2006-01-02 13:44:25.000000000 +0000 +++ src/openssl/x509vfy.c @@ -499,7 +499,11 @@ xmlSecOpenSSLX509StoreInitialize(xmlSecK } X509_LOOKUP_add_dir(lookup, (char*)path, X509_FILETYPE_DEFAULT); } +#if OPENSSL_VERSION_NUMBER < 0x00908000L ctx->xst->depth = 9; /* the default cert verification path in openssl */ +#else + X509_STORE_set_depth(ctx->xst, 9); +#endif ctx->untrusted = sk_X509_new_null(); if(ctx->untrusted == NULL) {