From 6deddf91d05dcb36676ae5000ff97d87505ad0a9 Mon Sep 17 00:00:00 2001 From: tb Date: Sun, 16 Sep 2018 19:22:50 +0000 Subject: [PATCH] add missing default case to switch --- regress/lib/libcrypto/wycheproof/wycheproof.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/regress/lib/libcrypto/wycheproof/wycheproof.go b/regress/lib/libcrypto/wycheproof/wycheproof.go index 44ee2dec3f3..61ad17046e6 100644 --- a/regress/lib/libcrypto/wycheproof/wycheproof.go +++ b/regress/lib/libcrypto/wycheproof/wycheproof.go @@ -1,4 +1,4 @@ -/* $OpenBSD: wycheproof.go,v 1.55 2018/09/16 18:44:33 tb Exp $ */ +/* $OpenBSD: wycheproof.go,v 1.56 2018/09/16 19:22:50 tb Exp $ */ /* * Copyright (c) 2018 Joel Sing * Copyright (c) 2018 Theo Buehler @@ -689,6 +689,8 @@ func runAesAeadTestGroup(algorithm string, wtg *wycheproofTestGroupAead) bool { fmt.Printf("INFO: Skipping tests with invalid key size %d\n", wtg.KeySize) return true } + default: + log.Fatalf("runAesAeadTestGroup() - unhandled algorithm: %v", algorithm) } ctx := C.EVP_CIPHER_CTX_new() -- 2.20.1