summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2018-09-16 18:44:34 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2018-09-16 18:44:34 +0000
commit7a902aa3c5a505fc6d274125406089275833f6cf (patch)
tree11b084e9ccd2bffc65c633211893e88172a61451 /regress
parent6ffe53c1dd092eff36c3328e4a35a9958bae5703 (diff)
EVP_aead_chacha20_poly1305() can't actually fail.
Diffstat (limited to 'regress')
-rw-r--r--regress/lib/libcrypto/wycheproof/wycheproof.go5
1 files changed, 1 insertions, 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 <jsing@openbsd.org>
* Copyright (c) 2018 Theo Buehler <tb@openbsd.org>
@@ -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 {