Revision d1321464f6c609d106d6af9a4e599661bf6c59b7 authored by Dr. Stephen Henson on 25 September 2011, 15:51:57 UTC, committed by Dr. Stephen Henson on 25 September 2011, 15:51:57 UTC
1 parent a0055fb
Raw File
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