From: Dmitry Belyavskiy Date: Sun, 10 May 2020 14:30:54 +0000 (+0300) Subject: Update OPENSSL_ENGINES setting X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=697e4faa6ce5a42a08ca922bbb379776cc8eb4f2;p=openssl-gost%2Fengine.git Update OPENSSL_ENGINES setting --- diff --git a/test/00-engine.t b/test/00-engine.t index 9104ab0..383b231 100644 --- a/test/00-engine.t +++ b/test/00-engine.t @@ -10,7 +10,7 @@ close F; # Set OPENSSL_ENGINES environment variable to just built engine if(!defined $ENV{'OPENSSL_ENGINES'}){ - $ENV{'OPENSSL_ENGINES'} = abs_path("../.libs"); + $ENV{'OPENSSL_ENGINES'} = abs_path("../bin"); } $key='0123456789abcdef' x 2; diff --git a/test/01-digest.t b/test/01-digest.t index 3838fd2..ad3d9eb 100644 --- a/test/01-digest.t +++ b/test/01-digest.t @@ -4,7 +4,7 @@ use Cwd 'abs_path'; # Set OPENSSL_ENGINES environment variable to just built engine if(!defined $ENV{'OPENSSL_ENGINES'}){ - $ENV{'OPENSSL_ENGINES'} = abs_path("../.libs"); + $ENV{'OPENSSL_ENGINES'} = abs_path("../bin"); } # Set engine name from environment to allow testing of different engines $engine=$ENV{'ENGINE_NAME'}||"gost"; diff --git a/test/02-mac.t b/test/02-mac.t index 5713dca..1fcb863 100644 --- a/test/02-mac.t +++ b/test/02-mac.t @@ -13,7 +13,7 @@ print F ("12345670" x 8 . "\n") x 4096; close F; # Set OPENSSL_ENGINES environment variable to just built engine if(!defined $ENV{'OPENSSL_ENGINES'}){ - $ENV{'OPENSSL_ENGINES'} = abs_path("../.libs"); + $ENV{'OPENSSL_ENGINES'} = abs_path("../bin"); } $key='0123456789abcdef' x 2; diff --git a/test/03-encrypt.t b/test/03-encrypt.t index d5b56c4..657c05e 100644 --- a/test/03-encrypt.t +++ b/test/03-encrypt.t @@ -13,7 +13,7 @@ $use_config = 1; # Set OPENSSL_ENGINES environment variable to just built engine if(!defined $ENV{'OPENSSL_ENGINES'}){ - $ENV{'OPENSSL_ENGINES'} = abs_path("../.libs"); + $ENV{'OPENSSL_ENGINES'} = abs_path("../bin"); } $key='0123456789abcdef' x 2; diff --git a/test/04-pkey.t b/test/04-pkey.t index 84ae81e..fec5f00 100644 --- a/test/04-pkey.t +++ b/test/04-pkey.t @@ -13,7 +13,7 @@ $use_config = 1; # Set OPENSSL_ENGINES environment variable to just built engine if(!defined $ENV{'OPENSSL_ENGINES'}){ - $ENV{'OPENSSL_ENGINES'} = abs_path("../.libs"); + $ENV{'OPENSSL_ENGINES'} = abs_path("../bin"); } $engine=$ENV{'ENGINE_NAME'}||"gost";