summaryrefslogtreecommitdiff
path: root/regress/lib/libcrypto/x509
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2021-09-03 08:58:54 +0000
committerBob Beck <beck@cvs.openbsd.org>2021-09-03 08:58:54 +0000
commitafef51e88673bf8df8b790536e0c06c029da77cc (patch)
tree3dc29aa4644f828731b2493fa8fc567f18854970 /regress/lib/libcrypto/x509
parent1c34f0ad51858ab5b6b5272a5d34236cb7277cca (diff)
Call the callback on success in new verifier in a compatible way
when we succeed with a chain, and ensure we do not call the callback twice when the caller doesn't expect it. A refactor of the end of the legacy verify code in x509_vfy is probably overdue, but this should be done based on a piece that works. the important bit here is this allows the perl regression tests in tree to pass. Changes the previously committed regress tests to test the success case callbacks to be known to pass. ok bluhm@ tb@
Diffstat (limited to 'regress/lib/libcrypto/x509')
-rw-r--r--regress/lib/libcrypto/x509/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/regress/lib/libcrypto/x509/Makefile b/regress/lib/libcrypto/x509/Makefile
index b05bf0bc66c..b5cf333a295 100644
--- a/regress/lib/libcrypto/x509/Makefile
+++ b/regress/lib/libcrypto/x509/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.7 2021/09/01 08:12:15 beck Exp $
+# $OpenBSD: Makefile,v 1.8 2021/09/03 08:58:53 beck Exp $
PROGS = constraints verify x509attribute x509name callback
LDADD= -Wl,-Bstatic -lcrypto -Wl,-Bdynamic
@@ -14,8 +14,6 @@ REGRESS_TARGETS += regress-x509attribute
REGRESS_TARGETS += regress-x509name
REGRESS_TARGETS += regress-callback
-REGRESS_EXPECTED_FAILURES += regress-callback
-
CLEANFILES+= x509name.result callbackout
.if make(clean) || make(cleandir)