[openssl-commits] [openssl] OpenSSL_1_1_0-stable update

Richard Levitte levitte at openssl.org
Thu Mar 16 12:06:53 UTC 2017


The branch OpenSSL_1_1_0-stable has been updated
       via  078fdfc446ecdc4df65f519c8afdad2153c4a348 (commit)
      from  14d4d7eda1d2d83c48db7cbf1928ae6e12339265 (commit)


- Log -----------------------------------------------------------------
commit 078fdfc446ecdc4df65f519c8afdad2153c4a348
Author: Richard Levitte <levitte at openssl.org>
Date:   Tue Mar 14 17:01:19 2017 +0100

    Rather use -out parameter than redirect stdout
    
    On some platforms, setting stdout to binary mode isn't quite enough,
    which makes the result unusable.  With -out, we have better control.
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/2939)
    (cherry picked from commit d8f9213ae2f0c59198fe56eeb70c34d735422254)

-----------------------------------------------------------------------

Summary of changes:
 test/recipes/15-test_rsapss.t | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/recipes/15-test_rsapss.t b/test/recipes/15-test_rsapss.t
index 8d20333..34accaa 100644
--- a/test/recipes/15-test_rsapss.t
+++ b/test/recipes/15-test_rsapss.t
@@ -21,8 +21,8 @@ plan tests => 5;
 #using test/testrsa.pem which happens to be a 512 bit RSA
 ok(run(app(['openssl', 'dgst', '-sign', srctop_file('test', 'testrsa.pem'), '-sha1',
             '-sigopt', 'rsa_padding_mode:pss', '-sigopt', 'rsa_pss_saltlen:-2',
-            '-sigopt', 'rsa_mgf1_md:sha512', srctop_file('test', 'testrsa.pem')],
-           stdout => 'testrsapss.sig')),
+            '-sigopt', 'rsa_mgf1_md:sha512', '-out', 'testrsapss.sig',
+            srctop_file('test', 'testrsa.pem')])),
    "openssl dgst -sign");
 
 with({ exit_checker => sub { return shift == 1; } },


More information about the openssl-commits mailing list