diff options
author | Richard Levitte <levitte@openssl.org> | 2020-11-23 02:26:34 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-11-24 11:01:58 +0100 |
commit | c150a9485772bd4b1bdf144c9fa26043a8a24d65 (patch) | |
tree | 7eabadc1d76a251856b81cfdf360c5112816ea39 /test/recipes/20-test_pkeyutl.t | |
parent | a68eee679a4b85f6846519412e1895c56475959c (diff) | |
download | openssl-c150a9485772bd4b1bdf144c9fa26043a8a24d65.tar.gz |
TEST: Make our test data binary
Our test data (test/data.txt and test/data2.txt) are text files, but
declaring them binary means that there will be no line ending
transformation done on them. This is necessary for testing on
non-Unix platforms, where certain tests could otherwise give results
that don't match expected results.
Fixes #13474
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13477)
Diffstat (limited to 'test/recipes/20-test_pkeyutl.t')
-rw-r--r-- | test/recipes/20-test_pkeyutl.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/recipes/20-test_pkeyutl.t b/test/recipes/20-test_pkeyutl.t index 19bc327758..8c0614bc42 100644 --- a/test/recipes/20-test_pkeyutl.t +++ b/test/recipes/20-test_pkeyutl.t @@ -75,8 +75,8 @@ sub tsignverify { my $pubkey = shift; my @extraopts = @_; - my $data_to_sign = srctop_file('test', 'data.txt'); - my $other_data = srctop_file('test', 'data2.txt'); + my $data_to_sign = srctop_file('test', 'data.bin'); + my $other_data = srctop_file('test', 'data2.bin'); my $sigfile = basename($privkey, '.pem') . '.sig'; my @args = (); |