summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/regress/lib/libcrypto/wycheproof/wycheproof.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/regress/lib/libcrypto/wycheproof/wycheproof.go b/src/regress/lib/libcrypto/wycheproof/wycheproof.go
index 5e3c5e46e6..e36dbe219a 100644
--- a/src/regress/lib/libcrypto/wycheproof/wycheproof.go
+++ b/src/regress/lib/libcrypto/wycheproof/wycheproof.go
@@ -1,4 +1,4 @@
1/* $OpenBSD: wycheproof.go,v 1.118 2020/04/27 19:42:34 tb Exp $ */ 1/* $OpenBSD: wycheproof.go,v 1.119 2020/05/14 18:09:25 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2018 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2018 Joel Sing <jsing@openbsd.org>
4 * Copyright (c) 2018, 2019 Theo Buehler <tb@openbsd.org> 4 * Copyright (c) 2018, 2019 Theo Buehler <tb@openbsd.org>
@@ -2761,10 +2761,9 @@ func main() {
2761 if err != nil { 2761 if err != nil {
2762 log.Fatalf("Failed to glob %v test vectors: %v", test.name, err) 2762 log.Fatalf("Failed to glob %v test vectors: %v", test.name, err)
2763 } 2763 }
2764 // XXX put check back after wycheproof-testvectors update to 20191214 2764 if len(tvs) == 0 {
2765 // if len(tvs) == 0 { 2765 log.Fatalf("Failed to find %v test vectors at %q\n", test.name, testVectorPath)
2766 // log.Fatalf("Failed to find %v test vectors at %q\n", test.name, testVectorPath) 2766 }
2767 // }
2768 for _, tv := range tvs { 2767 for _, tv := range tvs {
2769 if test.variant == Skip || (test.variant == Normal && skipNormal.Match([]byte(tv))) { 2768 if test.variant == Skip || (test.variant == Normal && skipNormal.Match([]byte(tv))) {
2770 fmt.Printf("INFO: Skipping tests from \"%s\"\n", strings.TrimPrefix(tv, testVectorPath+"/")) 2769 fmt.Printf("INFO: Skipping tests from \"%s\"\n", strings.TrimPrefix(tv, testVectorPath+"/"))