@rem $Id: do_test.bat,v 1.2 2005/01/30 21:46:38 rumen Exp $
set TEST=1a

goto test_%TEST%


:test_1a
rem OK
call test-encrypt.bat
call ssl-test-decrypt.bat
fc test.dat test.out
pause
goto done

:test_1b
rem OK
call ssl-test-encrypt.bat
call test-decrypt.bat
fc test.dat test.out
pause
goto done


:test_2a
rem mscrypto->openssl FAIL (implementation or mscrypto problem?)
call test-sign.bat
call ssl-test-verify.bat
goto done

:test_2b
rem openssl->mscrypto FAIL (implementation or mscrypto problem?)
call ssl-test-sign.bat
call test-verify.bat
goto done


:test_2c
rem openssl->openssl OK
call ssl-test-sign.bat
call ssl-test-verify.bat
fc test.dat test.out
pause
goto done

:test_2d
rem mscrypto->mscrypto OK
call test-sign.bat
call test-verify.bat
fc test.dat test.out
pause
goto done


:test_2a1
rem require private key
goto done
call test-sign-cert.bat
call ssl-test-verify.bat
fc test.dat test.out
pause
goto done

:test_2b1
rem same as 2b
call ssl-test-sign.bat
call test-verify-cert.bat
fc test.dat test.out
pause
goto done


:test_3a1
call test-dgst-sign.bat
call ssl-test-dgst-verify.bat
goto done

:test_3b1
call ssl-test-dgst-sign.bat
call test-dgst-verify.bat
goto done

:test_3a2
call test-dgst-sign-cert.bat
call ssl-test-dgst-verify.bat
goto done

:test_3b2
call ssl-test-dgst-sign.bat
call test-dgst-verify-cert.bat
goto done

:done
