Don't miss files...
authorLutz Jänicke <jaenicke@openssl.org>
Mon, 30 Jul 2001 11:50:37 +0000 (11:50 +0000)
committerLutz Jänicke <jaenicke@openssl.org>
Mon, 30 Jul 2001 11:50:37 +0000 (11:50 +0000)
crypto/x509/x509_vfy.c

index 0a5dcbe2ab414f891afa3db031d981d5508131ff..0b9ae12a6f12a3bad3419d8ebe5823a4e7e0c119 100644 (file)
@@ -1147,6 +1147,12 @@ void X509_STORE_CTX_set_time(X509_STORE_CTX *ctx, long flags, time_t t)
        ctx->flags |= X509_V_FLAG_USE_CHECK_TIME;
        }
 
        ctx->flags |= X509_V_FLAG_USE_CHECK_TIME;
        }
 
+void X509_STORE_CTX_set_verify_cb(X509_STORE_CTX *ctx,
+                                 int (*verify_cb)(int, X509_STORE_CTX *))
+       {
+       ctx->verify_cb=verify_cb;
+       }
+
 IMPLEMENT_STACK_OF(X509)
 IMPLEMENT_ASN1_SET_OF(X509)
 
 IMPLEMENT_STACK_OF(X509)
 IMPLEMENT_ASN1_SET_OF(X509)