Workaround for some CMS signature formats.
[openssl.git] / ms / tencce.bat
1 rem called by testencce
2
3 echo test %1 %2 %3 %4 %5 %6 
4 cecopy %input% CE:\OpenSSL
5 cerun CE:\OpenSSL\%ssleay% %1 %2 %3 %4 %5 %6 -e -bufsize 113 -k test -in \OpenSSL\%input% -out \OpenSSL\%tmp1%
6 cerun CE:\OpenSSL\%ssleay% %1 %2 %3 %4 %5 %6 -d -bufsize 157 -k test -in \OpenSSL\%tmp1% -out \OpenSSL\%out1%
7 del %out1% >nul 2>&1
8 cecopy CE:\OpenSSL\%out1% .
9 %cmp% %input% %out1%
10 if errorlevel 1 goto err
11
12 echo test base64 %1 %2 %3 %4 %5 %6 
13 cerun CE:\OpenSSL\%ssleay% %1 %2 %3 %4 %5 %6 -a -e -bufsize 113 -k test -in \OpenSSL\%input% -out \OpenSSL\%tmp1%
14 cerun CE:\OpenSSL\%ssleay% %1 %2 %3 %4 %5 %6 -a -d -bufsize 157 -k test -in \OpenSSL\%tmp1% -out \OpenSSL\%out1%
15 del %out1% >nul 2>&1
16 cecopy CE:\OpenSSL\%out1% .
17 %cmp% %input% %out1%
18
19 :err