https://github.com/openssl/openssl
Raw File
Tip revision: 5dd94f1847c744929a3bd24819f1c99644bb18c7 authored by Matt Caswell on 03 May 2016, 13:46:41 UTC
Prepare for 1.0.2h release
Tip revision: 5dd94f1
tenc.bat
rem called by testenc

echo test %1 %2 %3 %4 %5 %6 
%ssleay% %1 %2 %3 %4 %5 %6 -e -bufsize 113 -k test -in %input% -out %tmp1%
%ssleay% %1 %2 %3 %4 %5 %6 -d -bufsize 157 -k test -in %tmp1% -out %out1%
%cmp% %input% %out1%
if errorlevel 1 goto err

echo test base64 %1 %2 %3 %4 %5 %6 
%ssleay% %1 %2 %3 %4 %5 %6 -a -e -bufsize 113 -k test -in %input% -out %tmp1%
%ssleay% %1 %2 %3 %4 %5 %6 -a -d -bufsize 157 -k test -in %tmp1% -out %out1%
%cmp% %input% %out1%

:err
back to top