aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tarantool/tests-libressl-compat.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-07-26 17:30:21 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-07-26 17:31:00 +0200
commitda228851ed762b6a7924b310bab03d0638f73129 (patch)
treeb3c63e589db9578858e596ab20d35929dccfcc03 /testing/tarantool/tests-libressl-compat.patch
parentf438501ceb2622c7bb870be2246c0c1e6d0f1ea6 (diff)
downloadaports-da228851ed762b6a7924b310bab03d0638f73129.tar.bz2
aports-da228851ed762b6a7924b310bab03d0638f73129.tar.xz
testing/tarantool: set up tests, but don't run them now
Diffstat (limited to 'testing/tarantool/tests-libressl-compat.patch')
-rw-r--r--testing/tarantool/tests-libressl-compat.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/tarantool/tests-libressl-compat.patch b/testing/tarantool/tests-libressl-compat.patch
new file mode 100644
index 0000000000..7816bf406a
--- /dev/null
+++ b/testing/tarantool/tests-libressl-compat.patch
@@ -0,0 +1,35 @@
+Fix crypto/digest tests to be compatible with LibreSSL.
+
+--- a/test/app/crypto.result
++++ b/test/app/crypto.result
+@@ -111,13 +111,13 @@
+ ...
+ ciph.decrypt(enc, bad_pass, iv)
+ ---
+-- error: 'builtin/crypto.lua:<line>"]: Can''t finalize cipher:error:06065064:digital envelope
+- routines:EVP_DecryptFinal_ex:bad decrypt'
++- error: 'builtin/crypto.lua:<line>"]: Can''t finalize cipher:error:06FFF064:digital envelope
++ routines:CRYPTO_internal:bad decrypt'
+ ...
+ ciph.decrypt(enc, pass, bad_iv)
+ ---
+-- error: 'builtin/crypto.lua:<line>"]: Can''t finalize cipher:error:06065064:digital envelope
+- routines:EVP_DecryptFinal_ex:bad decrypt'
++- error: 'builtin/crypto.lua:<line>"]: Can''t finalize cipher:error:06FFF064:digital envelope
++ routines:CRYPTO_internal:bad decrypt'
+ ...
+ test_run:cmd("clear filter")
+ ---
+--- a/test/app/digest.result
++++ b/test/app/digest.result
+@@ -445,8 +445,8 @@
+ ...
+ digest.aes256cbc.decrypt(digest.aes256cbc.encrypt('test123', 'passpasspasspasspasspasspasspass', 'iv12tras8712cvbh'), 'nosspasspasspasspasspasspasspass', 'iv12tras8712cvbh')
+ ---
+-- error: 'builtin/crypto.lua:<line>"]: Can''t finalize cipher:error:06065064:digital envelope
+- routines:EVP_DecryptFinal_ex:bad decrypt'
++- error: 'builtin/crypto.lua:<line>"]: Can''t finalize cipher:error:06FFF064:digital envelope
++ routines:CRYPTO_internal:bad decrypt'
+ ...
+ digest = nil
+ ---