From a5ad6758ae08daaee2668d71eb05aff818ec9a1d Mon Sep 17 00:00:00 2001 From: tb Date: Sun, 16 Sep 2018 18:44:33 +0000 Subject: [PATCH] EVP_aead_chacha20_poly1305() can't actually fail. --- regress/lib/libcrypto/wycheproof/wycheproof.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/regress/lib/libcrypto/wycheproof/wycheproof.go b/regress/lib/libcrypto/wycheproof/wycheproof.go index ebfe105916d..44ee2dec3f3 100644 --- a/regress/lib/libcrypto/wycheproof/wycheproof.go +++ b/regress/lib/libcrypto/wycheproof/wycheproof.go @@ -1,4 +1,4 @@ -/* $OpenBSD: wycheproof.go,v 1.54 2018/09/16 11:45:08 tb Exp $ */ +/* $OpenBSD: wycheproof.go,v 1.55 2018/09/16 18:44:33 tb Exp $ */ /* * Copyright (c) 2018 Joel Sing * Copyright (c) 2018 Theo Buehler @@ -866,9 +866,6 @@ func checkAeadSeal(ctx *C.EVP_AEAD_CTX, iv []byte, ivLen int, aad []byte, aadLen func runChaCha20Poly1305Test(iv_len int, key_len int, tag_len int, wt *wycheproofTestAead) bool { aead := C.EVP_aead_chacha20_poly1305() - if aead == nil { - log.Fatal("EVP_aead_chacha20_poly1305 failed") - } key, err := hex.DecodeString(wt.Key) if err != nil { -- 2.20.1