From 5f3cb2d533acbeb9631fb45bedeea34c1e618c4c Mon Sep 17 00:00:00 2001 From: tb Date: Wed, 29 Aug 2018 18:58:46 +0000 Subject: [PATCH] Don't fatal on keys of invalid sice, just print an INFO. --- regress/lib/libcrypto/wycheproof/wycheproof.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/regress/lib/libcrypto/wycheproof/wycheproof.go b/regress/lib/libcrypto/wycheproof/wycheproof.go index 672a8673b1f..d8da1ddf6e3 100644 --- a/regress/lib/libcrypto/wycheproof/wycheproof.go +++ b/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() -- 2.20.1