diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/regress/lib/libcrypto/wycheproof/wycheproof.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/regress/lib/libcrypto/wycheproof/wycheproof.go b/src/regress/lib/libcrypto/wycheproof/wycheproof.go index ebfe105916..44ee2dec3f 100644 --- a/src/regress/lib/libcrypto/wycheproof/wycheproof.go +++ b/src/regress/lib/libcrypto/wycheproof/wycheproof.go | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: wycheproof.go,v 1.54 2018/09/16 11:45:08 tb Exp $ */ | 1 | /* $OpenBSD: wycheproof.go,v 1.55 2018/09/16 18:44:33 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2018 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2018 Joel Sing <jsing@openbsd.org> |
| 4 | * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> | 4 | * 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 | |||
| 866 | 866 | ||
| 867 | func runChaCha20Poly1305Test(iv_len int, key_len int, tag_len int, wt *wycheproofTestAead) bool { | 867 | func runChaCha20Poly1305Test(iv_len int, key_len int, tag_len int, wt *wycheproofTestAead) bool { |
| 868 | aead := C.EVP_aead_chacha20_poly1305() | 868 | aead := C.EVP_aead_chacha20_poly1305() |
| 869 | if aead == nil { | ||
| 870 | log.Fatal("EVP_aead_chacha20_poly1305 failed") | ||
| 871 | } | ||
| 872 | 869 | ||
| 873 | key, err := hex.DecodeString(wt.Key) | 870 | key, err := hex.DecodeString(wt.Key) |
| 874 | if err != nil { | 871 | if err != nil { |
