X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=test%2F02-mac.t;h=5713dca51635c3a3825a99f1c26c1e0cca00d709;hb=abf1f76739e89aeee17988a55c2375324f66c380;hp=185bac160ab10a17bd934ff0ce0a5e55699fd99e;hpb=3461793cc682c3336292696ded27f117849bcef0;p=openssl-gost%2Fengine.git diff --git a/test/02-mac.t b/test/02-mac.t index 185bac1..5713dca 100644 --- a/test/02-mac.t +++ b/test/02-mac.t @@ -11,8 +11,10 @@ close F; open F,">","testbig.dat"; print F ("12345670" x 8 . "\n") x 4096; close F; -# Set OPENSSL_ENGINES environment variable to just build engine -$ENV{'OPENSSL_ENGINES'} = abs_path("../.libs"); +# Set OPENSSL_ENGINES environment variable to just built engine +if(!defined $ENV{'OPENSSL_ENGINES'}){ + $ENV{'OPENSSL_ENGINES'} = abs_path("../.libs"); +} $key='0123456789abcdef' x 2;