blob: 7816bf406a9372ab0101e1d0dd3b9a0dbb84b6ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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
---
|