summaryrefslogtreecommitdiff
path: root/src/regress
diff options
context:
space:
mode:
authorbeck <>2021-09-03 08:58:53 +0000
committerbeck <>2021-09-03 08:58:53 +0000
commit994245ef52a1aae31fcfe4b4f477541af4815037 (patch)
tree9c46aa8dc9877d0ff22a6819eece4485287e26be /src/regress
parent85941777b4cebd473c07bdc6a1b63738e4b65fa3 (diff)
downloadopenbsd-994245ef52a1aae31fcfe4b4f477541af4815037.tar.gz
openbsd-994245ef52a1aae31fcfe4b4f477541af4815037.tar.bz2
openbsd-994245ef52a1aae31fcfe4b4f477541af4815037.zip
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 'src/regress')
-rw-r--r--src/regress/lib/libcrypto/x509/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/regress/lib/libcrypto/x509/Makefile b/src/regress/lib/libcrypto/x509/Makefile
index b05bf0bc66..b5cf333a29 100644
--- a/src/regress/lib/libcrypto/x509/Makefile
+++ b/src/regress/lib/libcrypto/x509/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.7 2021/09/01 08:12:15 beck Exp $ 1# $OpenBSD: Makefile,v 1.8 2021/09/03 08:58:53 beck Exp $
2 2
3PROGS = constraints verify x509attribute x509name callback 3PROGS = constraints verify x509attribute x509name callback
4LDADD= -Wl,-Bstatic -lcrypto -Wl,-Bdynamic 4LDADD= -Wl,-Bstatic -lcrypto -Wl,-Bdynamic
@@ -14,8 +14,6 @@ REGRESS_TARGETS += regress-x509attribute
14REGRESS_TARGETS += regress-x509name 14REGRESS_TARGETS += regress-x509name
15REGRESS_TARGETS += regress-callback 15REGRESS_TARGETS += regress-callback
16 16
17REGRESS_EXPECTED_FAILURES += regress-callback
18
19CLEANFILES+= x509name.result callbackout 17CLEANFILES+= x509name.result callbackout
20 18
21.if make(clean) || make(cleandir) 19.if make(clean) || make(cleandir)