diff options
author | tb <> | 2020-05-14 18:09:25 +0000 |
---|---|---|
committer | tb <> | 2020-05-14 18:09:25 +0000 |
commit | a1f5f2ffbc1ca72587154703f345051fd655c5ab (patch) | |
tree | edcd23f775be17e6117970a404c61880e9b79478 | |
parent | f552271390d3565d566c2e6ab5af2248a57e940e (diff) | |
download | openbsd-a1f5f2ffbc1ca72587154703f345051fd655c5ab.tar.gz openbsd-a1f5f2ffbc1ca72587154703f345051fd655c5ab.tar.bz2 openbsd-a1f5f2ffbc1ca72587154703f345051fd655c5ab.zip |
reinstate an error check that was commented out while waiting for arm
packages to appear
-rw-r--r-- | src/regress/lib/libcrypto/wycheproof/wycheproof.go | 9 |
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+"/")) |