The branch OpenSSL_1_1_0-stable has been updated
       via  831dbc358eab0a50c1b435f93d7c16d99ad61472 (commit)
      from  89314d9a22ad0b0ce87e188c486532926aff01ea (commit)


- Log -----------------------------------------------------------------
commit 831dbc358eab0a50c1b435f93d7c16d99ad61472
Author: Andy Polyakov <[email protected]>
Date:   Tue Feb 20 12:43:35 2018 +0100

    test/recipes/80-test_pkcs12.t: handle lack of Win32::API.
    
    So far check for availability of Win32::API served as implicit check
    for $^O being MSWin32. Reportedly it's not safe assumption, and check
    for MSWin32 has to be explicit.
    
    Reviewed-by: Matt Caswell <[email protected]>
    Reviewed-by: Rich Salz <[email protected]>
    (Merged from https://github.com/openssl/openssl/pull/5416)
    
    (cherry picked from commit d4c499f562c1ab7ec7773c3987fc4dce7662a805)

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

Summary of changes:
 test/recipes/80-test_pkcs12.t | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/recipes/80-test_pkcs12.t b/test/recipes/80-test_pkcs12.t
index 5bcfb69..aa307d2 100644
--- a/test/recipes/80-test_pkcs12.t
+++ b/test/recipes/80-test_pkcs12.t
@@ -41,6 +41,8 @@ if (eval { require Win32::API; 1; }) {
         SetConsoleOutputCP(1253);
         $pass = Encode::encode("cp1253",Encode::decode("utf-8",$pass));
     }
+} elsif ($^O eq "MSWin32") {
+    plan skip_all => "Win32::API unavailable";
 } else {
     # Running MinGW tests transparently under Wine apparently requires
     # UTF-8 locale...
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits

Reply via email to