From 171440b2550f360005baa7e9a4c420cbe4acf0ff Mon Sep 17 00:00:00 2001 From: tb <> Date: Wed, 29 Aug 2018 18:58:46 +0000 Subject: Don't fatal on keys of invalid sice, just print an INFO. --- src/regress/lib/libcrypto/wycheproof/wycheproof.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/regress/lib/libcrypto/wycheproof/wycheproof.go b/src/regress/lib/libcrypto/wycheproof/wycheproof.go index 672a8673b1..d8da1ddf6e 100644 --- a/src/regress/lib/libcrypto/wycheproof/wycheproof.go +++ b/src/regress/lib/libcrypto/wycheproof/wycheproof.go @@ -1,4 +1,4 @@ -/* $OpenBSD: wycheproof.go,v 1.31 2018/08/28 18:28:30 tb Exp $ */ +/* $OpenBSD: wycheproof.go,v 1.32 2018/08/29 18:58:46 tb Exp $ */ /* * Copyright (c) 2018 Joel Sing * Copyright (c) 2018 Theo Buehler @@ -563,7 +563,8 @@ func runAesCcmTestGroup(wtg *wycheproofTestGroupAesCcm) bool { case 256: cipher = C.EVP_aes_256_ccm() default: - log.Fatalf("Unsupported key size: %d", wtg.KeySize) + fmt.Printf("INFO: Skipping tests with invalid key size %d\n", wtg.KeySize) + return true } ctx := C.EVP_CIPHER_CTX_new() -- cgit v1.2.3-55-g6feb