From 6affb93da8f32f498ed3429800089e7660fe035a Mon Sep 17 00:00:00 2001 From: Bob Beck Date: Mon, 30 Aug 2021 09:06:05 +0000 Subject: Admit that we return error 20 in the failure case here. Changing our verifier to return 21 results in other regress failures in ruby and perl. --- regress/usr.bin/openssl/x509/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/regress/usr.bin/openssl/x509/Makefile b/regress/usr.bin/openssl/x509/Makefile index b022974dcb7..69488994afb 100644 --- a/regress/usr.bin/openssl/x509/Makefile +++ b/regress/usr.bin/openssl/x509/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2021/08/30 06:51:36 beck Exp $ +# $OpenBSD: Makefile,v 1.9 2021/08/30 09:06:04 beck Exp $ # Copyright (c) 2021 Jan Klemkow # @@ -57,9 +57,9 @@ test-inlabel-wildcard-cert-no-CA-client: timeout=$$(($$(date +%s) + 5)); \ while fstat -p $$! | ! grep -q 'tcp .* \*:4433$$'; \ do test $$(date +%s) -lt $$timeout || exit 1; done - # start client + # start client, note - some versions of openssl return 21. echo Q | ${OPENSSL} s_client -verify_return_error \ - | grep "Verify return code: 21" + | grep "Verify return code: 20" test-inlabel-wildcard-cert-CA-client: # unusual wildcard cert, CA given to client @@ -81,9 +81,9 @@ test-common-wildcard-cert-no-CA-client: timeout=$$(($$(date +%s) + 5)); \ while fstat -p $$! | ! grep -q 'tcp .* \*:4433$$'; \ do test $$(date +%s) -lt $$timeout || exit 1; done - # start client + # start client, note - some versions of openssl return 21. echo Q | ${OPENSSL} s_client \ - | grep "Verify return code: 21" + | grep "Verify return code: 20" test-common-wildcard-cert-CA-client: # common wildcard cert, CA given to client -- cgit v1.2.3