summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/wycheproof
diff options
context:
space:
mode:
authorjsing <>2023-03-11 14:27:38 +0000
committerjsing <>2023-03-11 14:27:38 +0000
commit2e5da2b49d0dfd3201a55a5bde6359c5a9a1c4f5 (patch)
treea7e4a41c204bbd95b5189489a6cb046118b35ef0 /src/regress/lib/libcrypto/wycheproof
parent52fd1244f8c53de73ef10d4f9511eee80489d31a (diff)
downloadopenbsd-2e5da2b49d0dfd3201a55a5bde6359c5a9a1c4f5.tar.gz
openbsd-2e5da2b49d0dfd3201a55a5bde6359c5a9a1c4f5.tar.bz2
openbsd-2e5da2b49d0dfd3201a55a5bde6359c5a9a1c4f5.zip
Add OPENSSL_cleanup() calls to some regress.
This gets us some minimal test coverage.
Diffstat (limited to 'src/regress/lib/libcrypto/wycheproof')
-rw-r--r--src/regress/lib/libcrypto/wycheproof/wycheproof.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/wycheproof/wycheproof.go b/src/regress/lib/libcrypto/wycheproof/wycheproof.go
index f98d4b13e8..7183e1bbe9 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.138 2023/03/08 06:12:52 jsing Exp $ */ 1/* $OpenBSD: wycheproof.go,v 1.139 2023/03/11 14:27:37 jsing 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,2019,2022 Theo Buehler <tb@openbsd.org> 4 * Copyright (c) 2018,2019,2022 Theo Buehler <tb@openbsd.org>
@@ -3024,6 +3024,8 @@ func main() {
3024 3024
3025 testc.shutdown() 3025 testc.shutdown()
3026 3026
3027 C.OPENSSL_cleanup()
3028
3027 if !success { 3029 if !success {
3028 os.Exit(1) 3030 os.Exit(1)
3029 } 3031 }