From e2a2673873e4364ea669439cbe58f478bc3a3b64 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 21 Jan 2020 15:38:48 +0300 Subject: Release version 1.1.1+9 Enable zlib usage Don't define default directory paths Fix 'sslv3 alert bad record mac' failure for some libcrypto function calls --- openssl/tests/encryption.testscript | 9 +++++++++ openssl/tests/version.testscript | 6 +++--- 2 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 openssl/tests/encryption.testscript (limited to 'openssl/tests') diff --git a/openssl/tests/encryption.testscript b/openssl/tests/encryption.testscript new file mode 100644 index 0000000..6326858 --- /dev/null +++ b/openssl/tests/encryption.testscript @@ -0,0 +1,9 @@ +# file : tests/encryption.testscript +# copyright : Copyright (c) 2016-2019 Code Synthesis Ltd +# license : OpenSSL and SSLeay Licenses; see accompanying LICENSE file + +enc = $* aes-256-cbc -e -salt -base64 -md sha256 -pass pass:123 -pbkdf2 +dec = $* aes-256-cbc -d -salt -base64 -md sha256 -pass pass:123 -pbkdf2 + +$enc <'ABC' | $dec >'ABC' : no-zlib +$enc -z <'ABC' | $dec -z >'ABC' : zlib diff --git a/openssl/tests/version.testscript b/openssl/tests/version.testscript index 1759e5f..325ba9b 100644 --- a/openssl/tests/version.testscript +++ b/openssl/tests/version.testscript @@ -7,8 +7,8 @@ $* version -a >>~"%EOO%" %built on: .+ UTC% %platform: $c.target.class-$c.target.cpu% %options: .+% - %compiler: $c.class .*-DLIBCRYPTO_BUILD.*% - %OPENSSLDIR: ".+"% - %ENGINESDIR: ".+"% + %compiler: $c.class .*-DLIBCRYPTO_BUILD -DZLIB .*% + OPENSSLDIR: N/A + ENGINESDIR: N/A %Seeding source: .+% EOO -- cgit v1.1