From 87326458aa67c7452cd55e3deab8a258170a3665 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Tue, 8 Mar 2016 14:02:54 -0500 Subject: [PATCH] Remove some old ms/* files Reviewed-by: Richard Levitte --- ms/32all.bat | 20 ----- ms/certCA.srl | 1 - ms/certCA.ss | 10 --- ms/certU.ss | 10 --- ms/do_nt.bat | 7 -- ms/keyCA.ss | 9 --- ms/keyU.ss | 9 --- ms/mw.bat | 26 ------- ms/req2CA.ss | 29 ------- ms/reqCA.ss | 8 -- ms/reqU.ss | 8 -- ms/speed32.bat | 37 --------- ms/tenc.bat | 14 ---- ms/tencce.bat | 19 ----- ms/test.bat | 149 ----------------------------------- ms/testce.bat | 198 ----------------------------------------------- ms/testce2.bat | 2 - ms/testenc.bat | 94 ---------------------- ms/testencce.bat | 97 ----------------------- ms/testpem.bat | 32 -------- ms/testpemce.bat | 42 ---------- ms/testss.bat | 98 ----------------------- ms/testssce.bat | 104 ------------------------- ms/tpem.bat | 6 -- ms/tpemce.bat | 8 -- 25 files changed, 1037 deletions(-) delete mode 100755 ms/32all.bat delete mode 100644 ms/certCA.srl delete mode 100644 ms/certCA.ss delete mode 100644 ms/certU.ss delete mode 100755 ms/do_nt.bat delete mode 100644 ms/keyCA.ss delete mode 100644 ms/keyU.ss delete mode 100644 ms/mw.bat delete mode 100644 ms/req2CA.ss delete mode 100644 ms/reqCA.ss delete mode 100644 ms/reqU.ss delete mode 100755 ms/speed32.bat delete mode 100755 ms/tenc.bat delete mode 100644 ms/tencce.bat delete mode 100755 ms/test.bat delete mode 100644 ms/testce.bat delete mode 100644 ms/testce2.bat delete mode 100755 ms/testenc.bat delete mode 100644 ms/testencce.bat delete mode 100755 ms/testpem.bat delete mode 100644 ms/testpemce.bat delete mode 100755 ms/testss.bat delete mode 100644 ms/testssce.bat delete mode 100755 ms/tpem.bat delete mode 100644 ms/tpemce.bat diff --git a/ms/32all.bat b/ms/32all.bat deleted file mode 100755 index 309dfd9f3f..0000000000 --- a/ms/32all.bat +++ /dev/null @@ -1,20 +0,0 @@ -set OPTS=no-asm - -perl Configure VC-WIN32 -perl util\mkfiles.pl >MINFO -perl util\mk1mf.pl %OPTS% debug VC-WIN32 >d32.mak -perl util\mk1mf.pl %OPTS% VC-WIN32 >32.mak -perl util\mk1mf.pl %OPTS% debug dll VC-WIN32 >d32dll.mak -perl util\mk1mf.pl %OPTS% dll VC-WIN32 >32dll.mak -perl util\mkdef.pl 32 libcrypto > ms\libcrypto32.def -perl util\mkdef.pl 32 libssl > ms\libssl32.def - -nmake -f d32.mak -@if errorlevel 1 goto end -nmake -f 32.mak -@if errorlevel 1 goto end -nmake -f d32dll.mak -@if errorlevel 1 goto end -nmake -f 32dll.mak - -:end diff --git a/ms/certCA.srl b/ms/certCA.srl deleted file mode 100644 index 2cfaa3ba20..0000000000 --- a/ms/certCA.srl +++ /dev/null @@ -1 +0,0 @@ -1D diff --git a/ms/certCA.ss b/ms/certCA.ss deleted file mode 100644 index b48c657ae0..0000000000 --- a/ms/certCA.ss +++ /dev/null @@ -1,10 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIBXDCCAQYCAQAwDQYJKoZIhvcNAQEEBQAwOTELMAkGA1UEBhMCQVUxFzAVBgNV -BAoTDkRvZGd5IEJyb3RoZXJzMREwDwYDVQQDEwhEb2RneSBDQTAeFw05ODA3MjEw -NjUwMTZaFw05ODA4MjAwNjUwMTZaMDkxCzAJBgNVBAYTAkFVMRcwFQYDVQQKEw5E -b2RneSBCcm90aGVyczERMA8GA1UEAxMIRG9kZ3kgQ0EwXDANBgkqhkiG9w0BAQEF -AANLADBIAkEA0DQLenM/ncK6CwSEJhOO1WfZUPUEi4pvos9fHW459jh3rRDADgi3 -fiCYxoRVSQhvB47kDZ3ViNg5yrDhy7F9ywIDAQABMA0GCSqGSIb3DQEBBAUAA0EA -S564l3SBxJ+QcIXthGGDyP5zkxTf/1fHfelW9LNgu6lZTdy9Dlp/NecPekzRmZEM -WiGXGkKNeuo8PsnGJHP9Qg== ------END CERTIFICATE----- diff --git a/ms/certU.ss b/ms/certU.ss deleted file mode 100644 index 095ea14330..0000000000 --- a/ms/certU.ss +++ /dev/null @@ -1,10 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIBcTCCARsCARwwDQYJKoZIhvcNAQEEBQAwOTELMAkGA1UEBhMCQVUxFzAVBgNV -BAoTDkRvZGd5IEJyb3RoZXJzMREwDwYDVQQDEwhEb2RneSBDQTAeFw05ODA3MjEw -NjUwMjdaFw05ODA4MjAwNjUwMjdaME4xCzAJBgNVBAYTAkFVMRcwFQYDVQQKEw5E -b2RneSBCcm90aGVyczESMBAGA1UEAxMJQnJvdGhlciAxMRIwEAYDVQQDEwlCcm90 -aGVyIDIwXDANBgkqhkiG9w0BAQEFAANLADBIAkEA0e4qorOr/zuLB9NvRaXhJVaI -HaGGasa7eMAjVPitWAXkN+DxXiGH1CnMgQraKiYzsEVP15xtxkevEvK5jJpOwwID -AQABMA0GCSqGSIb3DQEBBAUAA0EAZhcPV+SWwaszFuDTYc6fUurcV9OeXUqoxSQy -MnLZPTyWubHbbkUr9fUfdf7Cc7dFqGzag05VHkNQUS9VjMzjIQ== ------END CERTIFICATE----- diff --git a/ms/do_nt.bat b/ms/do_nt.bat deleted file mode 100755 index 77e7ea6525..0000000000 --- a/ms/do_nt.bat +++ /dev/null @@ -1,7 +0,0 @@ - -perl util\mkfiles.pl >MINFO -perl util\mk1mf.pl no-asm VC-NT >ms\nt.mak -perl util\mk1mf.pl dll no-asm VC-NT >ms\ntdll.mak - -perl util\mkdef.pl libcrypto NT > ms\libcrypto32.def -perl util\mkdef.pl libssl NT > ms\libssl32.def diff --git a/ms/keyCA.ss b/ms/keyCA.ss deleted file mode 100644 index 933c2cd6ed..0000000000 --- a/ms/keyCA.ss +++ /dev/null @@ -1,9 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIBOwIBAAJBANA0C3pzP53CugsEhCYTjtVn2VD1BIuKb6LPXx1uOfY4d60QwA4I -t34gmMaEVUkIbweO5A2d1YjYOcqw4cuxfcsCAwEAAQJAOT9WOKEfyN0WEpl3TJDs -ITmgw2XbjhLOh1HFsW3xegWlaOuhL/wGamz7n7zzL/RQF3JP/VvpGk2F8VD9JhwT -wQIhAPmqM3fLttBoCQuwQRdIPfB7Ps3THqx6N8AJ04z3I1ejAiEA1XyDd7bLpWrw -/oA8CmR4b/KCGfvRwAL/Qej/rQliw7kCIQCYRzSvO8ScpuflhjKdZcXJuRJcbgnG -f6Ejc5rh3xdiawIhALMmLdzEFNjXiSzIx5mg/kBTLUJIw5dx7GqO8B9xBORhAiA5 -oTN/hgvvrkkmRsHQpNBmzAEGBzhMEEq9lD6ZWrTSRg== ------END RSA PRIVATE KEY----- diff --git a/ms/keyU.ss b/ms/keyU.ss deleted file mode 100644 index 05d356e7a5..0000000000 --- a/ms/keyU.ss +++ /dev/null @@ -1,9 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIBPAIBAAJBANHuKqKzq/87iwfTb0Wl4SVWiB2hhmrGu3jAI1T4rVgF5Dfg8V4h -h9QpzIEK2iomM7BFT9ecbcZHrxLyuYyaTsMCAwEAAQJBAIxtM6n4ZCJscxj+D13Y -k13Fn3Gqvd6pJ3ijlj7dxh6tRBBQ3W9qmQflyvEc81giI2XtbVYBOEJKtJ1cWWZm -gAkCIQDpEoOuc4KCI5ti6aMJvtxlXWNHbkXCxtbeIjH4+FnH9QIhAOaU3XVeWWOK -PnnO87KniDjHQqWLnooivDGRK+FUKeDXAiEA2MjEvFVqFVvDIsxHPkBNROcI+Z6i -ulkx76kErBtrfqUCIHN5uBLQZmngUPuFtiwRlLoCqJDphENfs+oK7vPQx4xPAiEA -hnY2Ulrpld83IG6bUs95Loc8Fk81hez5YwmhsFEXVtk= ------END RSA PRIVATE KEY----- diff --git a/ms/mw.bat b/ms/mw.bat deleted file mode 100644 index b844a08003..0000000000 --- a/ms/mw.bat +++ /dev/null @@ -1,26 +0,0 @@ -@rem OpenSSL with Mingw32 -@rem -------------------- - -@rem Makefile -perl util\mkfiles.pl >MINFO -perl util\mk1mf.pl Mingw32 >ms\mingw32.mak -@rem DLL definition files -perl util\mkdef.pl 32 libcrypto >ms\libcrypto32.def -if errorlevel 1 goto end -perl util\mkdef.pl 32 libssl >ms\libssl32.def -if errorlevel 1 goto end - -@rem Build the libraries -make -f ms/mingw32.mak -if errorlevel 1 goto end - -@rem Generate the DLLs and input libraries -dllwrap --dllname libcrypto32.dll --output-lib out/libcrypto32.a --def ms/libcrypto32.def out/libcrypto.a -lws2_32 -lgdi32 -if errorlevel 1 goto end -dllwrap --dllname libssl32.dll --output-lib out/libssl32.a --def ms/libssl32.def out/libssl.a out/libcrypto32.a -if errorlevel 1 goto end - -echo Done compiling OpenSSL - -:end - diff --git a/ms/req2CA.ss b/ms/req2CA.ss deleted file mode 100644 index d061fb2a07..0000000000 --- a/ms/req2CA.ss +++ /dev/null @@ -1,29 +0,0 @@ -Certificate Request: - Data: - Version: 0 (0x0) - Subject: C=AU, O=Dodgy Brothers, CN=Dodgy CA - Subject Public Key Info: - Public Key Algorithm: rsaEncryption - RSA Public Key: (512 bit) - Modulus (512 bit): - 00:d0:34:0b:7a:73:3f:9d:c2:ba:0b:04:84:26:13: - 8e:d5:67:d9:50:f5:04:8b:8a:6f:a2:cf:5f:1d:6e: - 39:f6:38:77:ad:10:c0:0e:08:b7:7e:20:98:c6:84: - 55:49:08:6f:07:8e:e4:0d:9d:d5:88:d8:39:ca:b0: - e1:cb:b1:7d:cb - Exponent: 65537 (0x10001) - Attributes: - a0:00 - Signature Algorithm: md5WithRSAEncryption - 8d:15:e6:8e:49:0f:07:fb:e0:72:ad:f0:04:9a:c8:5d:e7:1b: - ed:99:c9:c3:3c:f5:8e:4d:a1:5e:e1:40:75:2c:24:f0:c6:dd: - 10:87:35:26:1d:cc:79:3f:a2:c6:a0:04:c8:52:78:ed:26:32: - d3:1b:a7:cd:5e:8c:55:92:dd:88 ------BEGIN CERTIFICATE REQUEST----- -MIHzMIGeAgEAMDkxCzAJBgNVBAYTAkFVMRcwFQYDVQQKEw5Eb2RneSBCcm90aGVy -czERMA8GA1UEAxMIRG9kZ3kgQ0EwXDANBgkqhkiG9w0BAQEFAANLADBIAkEA0DQL -enM/ncK6CwSEJhOO1WfZUPUEi4pvos9fHW459jh3rRDADgi3fiCYxoRVSQhvB47k -DZ3ViNg5yrDhy7F9ywIDAQABoAAwDQYJKoZIhvcNAQEEBQADQQCNFeaOSQ8H++By -rfAEmshd5xvtmcnDPPWOTaFe4UB1LCTwxt0QhzUmHcx5P6LGoATIUnjtJjLTG6fN -XoxVkt2I ------END CERTIFICATE REQUEST----- diff --git a/ms/reqCA.ss b/ms/reqCA.ss deleted file mode 100644 index 1f7138cadc..0000000000 --- a/ms/reqCA.ss +++ /dev/null @@ -1,8 +0,0 @@ ------BEGIN CERTIFICATE REQUEST----- -MIHzMIGeAgEAMDkxCzAJBgNVBAYTAkFVMRcwFQYDVQQKEw5Eb2RneSBCcm90aGVy -czERMA8GA1UEAxMIRG9kZ3kgQ0EwXDANBgkqhkiG9w0BAQEFAANLADBIAkEA0DQL -enM/ncK6CwSEJhOO1WfZUPUEi4pvos9fHW459jh3rRDADgi3fiCYxoRVSQhvB47k -DZ3ViNg5yrDhy7F9ywIDAQABoAAwDQYJKoZIhvcNAQEFBQADQQA5DZSZgDXs8flG -GZf4SGr8QpqkxSu9bZOYp/ySuz1khj7aupBrvZBmqZcZx4ZjAUN7UQpMWu2gyfKa -mAiiLPFN ------END CERTIFICATE REQUEST----- diff --git a/ms/reqU.ss b/ms/reqU.ss deleted file mode 100644 index 91cce5966d..0000000000 --- a/ms/reqU.ss +++ /dev/null @@ -1,8 +0,0 @@ ------BEGIN CERTIFICATE REQUEST----- -MIIBCDCBswIBADBOMQswCQYDVQQGEwJBVTEXMBUGA1UEChMORG9kZ3kgQnJvdGhl -cnMxEjAQBgNVBAMTCUJyb3RoZXIgMTESMBAGA1UEAxMJQnJvdGhlciAyMFwwDQYJ -KoZIhvcNAQEBBQADSwAwSAJBANHuKqKzq/87iwfTb0Wl4SVWiB2hhmrGu3jAI1T4 -rVgF5Dfg8V4hh9QpzIEK2iomM7BFT9ecbcZHrxLyuYyaTsMCAwEAAaAAMA0GCSqG -SIb3DQEBAgUAA0EAhB0p6LbiVq+XshLo5sBQN0rsROC1OgWrdS6ZUmMaigOKK069 -r1o+dGwbM5VCYGTZf0PW9OtGuArGct0laL5h4w== ------END CERTIFICATE REQUEST----- diff --git a/ms/speed32.bat b/ms/speed32.bat deleted file mode 100755 index 95f7ce9505..0000000000 --- a/ms/speed32.bat +++ /dev/null @@ -1,37 +0,0 @@ -set makefile=ms\nt.mak - -perl Configure b -del tmp\*.obj -nmake -f %makefile% -nmake -f %makefile% -nmake -f %makefile% -out\ssleay version -v -b -f >speed.1 -out\ssleay speed >speed.1l - -perl Configure bl-4c-2c -del tmp\rc4*.obj tmp\bn*.obj tmp\md2_dgst.obj -nmake -f %makefile% -nmake -f %makefile% -nmake -f %makefile% -out\ssleay speed rc4 rsa md2 >speed.2l - -perl Configure bl-4c-ri -del tmp\rc4*.obj -nmake -f %makefile% -nmake -f %makefile% -nmake -f %makefile% -out\ssleay speed rc4 >speed.3l - -perl Configure b2-is-ri-dp -del tmp\i_*.obj tmp\rc4*.obj tmp\ecb_enc.obj tmp\bn*.obj -nmake -f %makefile% -nmake -f %makefile% -nmake -f %makefile% -out\ssleay speed rsa rc4 idea des >speed.4l - -type speed.1 >speed.log -type speed.1l >>speed.log -perl util\sp-diff.pl speed.1l speed.2l >>speed.log -perl util\sp-diff.pl speed.1l speed.3l >>speed.log -perl util\sp-diff.pl speed.1l speed.4l >>speed.log - diff --git a/ms/tenc.bat b/ms/tenc.bat deleted file mode 100755 index a4fa7f3652..0000000000 --- a/ms/tenc.bat +++ /dev/null @@ -1,14 +0,0 @@ -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 diff --git a/ms/tencce.bat b/ms/tencce.bat deleted file mode 100644 index c8b1acd4b4..0000000000 --- a/ms/tencce.bat +++ /dev/null @@ -1,19 +0,0 @@ -rem called by testencce - -echo test %1 %2 %3 %4 %5 %6 -cecopy %input% CE:\OpenSSL -cerun CE:\OpenSSL\%ssleay% %1 %2 %3 %4 %5 %6 -e -bufsize 113 -k test -in \OpenSSL\%input% -out \OpenSSL\%tmp1% -cerun CE:\OpenSSL\%ssleay% %1 %2 %3 %4 %5 %6 -d -bufsize 157 -k test -in \OpenSSL\%tmp1% -out \OpenSSL\%out1% -del %out1% >nul 2>&1 -cecopy CE:\OpenSSL\%out1% . -%cmp% %input% %out1% -if errorlevel 1 goto err - -echo test base64 %1 %2 %3 %4 %5 %6 -cerun CE:\OpenSSL\%ssleay% %1 %2 %3 %4 %5 %6 -a -e -bufsize 113 -k test -in \OpenSSL\%input% -out \OpenSSL\%tmp1% -cerun CE:\OpenSSL\%ssleay% %1 %2 %3 %4 %5 %6 -a -d -bufsize 157 -k test -in \OpenSSL\%tmp1% -out \OpenSSL\%out1% -del %out1% >nul 2>&1 -cecopy CE:\OpenSSL\%out1% . -%cmp% %input% %out1% - -:err diff --git a/ms/test.bat b/ms/test.bat deleted file mode 100755 index e8b7ae226c..0000000000 --- a/ms/test.bat +++ /dev/null @@ -1,149 +0,0 @@ -@echo off - -set test=..\ms -set opath=%PATH% -PATH=..\ms;%PATH% -set OPENSSL_CONF=..\apps\openssl.cnf - -rem run this from inside the bin directory - -echo rsa_test -rsa_test -if errorlevel 1 goto done - -echo destest -destest -if errorlevel 1 goto done - -echo ideatest -ideatest -if errorlevel 1 goto done - -echo bftest -bftest -if errorlevel 1 goto done - -echo sha1test -sha1test -if errorlevel 1 goto done - -echo md5test -md5test -if errorlevel 1 goto done - -echo rc2test -rc2test -if errorlevel 1 goto done - -echo rc4test -rc4test -if errorlevel 1 goto done - -echo randtest -randtest -if errorlevel 1 goto done - -echo dhtest -dhtest -if errorlevel 1 goto done - -echo exptest -exptest -if errorlevel 1 goto done - -echo dsatest -dsatest -if errorlevel 1 goto done - -echo ectest -ectest -if errorlevel 1 goto done - -echo testenc -call %test%\testenc openssl -if errorlevel 1 goto done - -echo testpem -call %test%\testpem openssl -if errorlevel 1 goto done - -echo testss -call %test%\testss openssl -if errorlevel 1 goto done - -set SSL_TEST=ssltest -key keyU.ss -cert certU.ss -c_key keyU.ss -c_cert certU.ss -CAfile certCA.ss - -echo test sslv3 -ssltest -ssl3 -if errorlevel 1 goto done - -echo test sslv3 with server authentication -%SSL_TEST% -ssl3 -server_auth -if errorlevel 1 goto done - -echo test sslv3 with client authentication -%SSL_TEST% -ssl3 -client_auth -if errorlevel 1 goto done - -echo test sslv3 with both client and server authentication -%SSL_TEST% -ssl3 -server_auth -client_auth -if errorlevel 1 goto done - -echo test sslv2/sslv3 -ssltest -if errorlevel 1 goto done - -echo test sslv2/sslv3 with server authentication -%SSL_TEST% -server_auth -if errorlevel 1 goto done - -echo test sslv2/sslv3 with client authentication -%SSL_TEST% -client_auth -if errorlevel 1 goto done - -echo test sslv2/sslv3 with both client and server authentication -%SSL_TEST% -server_auth -client_auth -if errorlevel 1 goto done - -echo test sslv2/sslv3 with 1024 bit DHE via BIO pair -ssltest -bio_pair -dhe1024dsa -v -if errorlevel 1 goto done - -echo test sslv3 via BIO pair -ssltest -bio_pair -ssl3 -if errorlevel 1 goto done - -echo test sslv3 with server authentication via BIO pair -%SSL_TEST% -bio_pair -ssl3 -server_auth -if errorlevel 1 goto done - -echo test sslv3 with client authentication via BIO pair -%SSL_TEST% -bio_pair -ssl3 -client_auth -if errorlevel 1 goto done - -echo test sslv3 with both client and server authentication via BIO pair -%SSL_TEST% -bio_pair -ssl3 -server_auth -client_auth -if errorlevel 1 goto done - -echo test sslv2/sslv3 via BIO pair -ssltest -bio_pair -if errorlevel 1 goto done - -echo test sslv2/sslv3 with server authentication -%SSL_TEST% -bio_pair -server_auth -if errorlevel 1 goto done - -echo test sslv2/sslv3 with client authentication via BIO pair -%SSL_TEST% -bio_pair -client_auth -if errorlevel 1 goto done - -echo test sslv2/sslv3 with both client and server authentication via BIO pair -%SSL_TEST% -bio_pair -server_auth -client_auth -if errorlevel 1 goto done - -echo passed all tests -goto end -:done -echo problems..... -:end -PATH=%opath% diff --git a/ms/testce.bat b/ms/testce.bat deleted file mode 100644 index c8602329e0..0000000000 --- a/ms/testce.bat +++ /dev/null @@ -1,198 +0,0 @@ -@echo off - -cemkdir CE:\OpenSSL - -set test=..\ms -set opath=%PATH% -PATH=..\ms;%PATH% -cecopy ..\apps\openssl.cnf CE:\OpenSSL -set OPENSSL_CONF=\OpenSSL\openssl.cnf -set HOME=\OpenSSL -set CERUN_PASS_ENV=OPENSSL_CONF HOME - -rem run this from inside the bin directory - -rem Copy the DLL's (though they'll only exist if we're in out32dll) -if exist libcrypto32.dll cecopy libcrypto32.dll CE:\OpenSSL -if exist libssl32.dll cecopy libssl32.dll CE:\OpenSSL - -echo rsa_test -call %test%\testce2 rsa_test -if errorlevel 1 goto done - -echo destest -call %test%\testce2 destest -if errorlevel 1 goto done - -echo ideatest -call %test%\testce2 ideatest -if errorlevel 1 goto done - -echo bftest -call %test%\testce2 bftest -if errorlevel 1 goto done - -echo sha1test -call %test%\testce2 sha1test -if errorlevel 1 goto done - -echo md5test -call %test%\testce2 md5test -if errorlevel 1 goto done - -echo md2test -call %test%\testce2 md2test -if errorlevel 1 goto done - -echo mdc2test -call %test%\testce2 mdc2test -if errorlevel 1 goto done - -echo rc2test -call %test%\testce2 rc2test -if errorlevel 1 goto done - -echo rc4test -call %test%\testce2 rc4test -if errorlevel 1 goto done - -echo randtest -call %test%\testce2 randtest -if errorlevel 1 goto done - -echo dhtest -call %test%\testce2 dhtest -if errorlevel 1 goto done - -echo exptest -call %test%\testce2 exptest -if errorlevel 1 goto done - -echo dsatest -call %test%\testce2 dsatest -if errorlevel 1 goto done - -echo testenc -call %test%\testencce openssl.exe -if errorlevel 1 goto done - -echo testpem -call %test%\testpemce openssl.exe -if errorlevel 1 goto done - -cecopy openssl.exe CE:\OpenSSL - -echo verify -copy ..\certs\*.pem cert.tmp >nul -cecopy cert.tmp CE:\OpenSSL -cemkdir CE:\OpenSSL\certs -rem cecopy ..\certs\*.pem CE:\OpenSSL\certs -cecopy ..\certs\ca-cert.pem CE:\OpenSSL\certs -cecopy ..\certs\dsa-ca.pem CE:\OpenSSL\certs -cecopy ..\certs\dsa-pca.pem CE:\OpenSSL\certs -cecopy ..\certs\factory.pem CE:\OpenSSL\certs -cecopy ..\certs\ICE-CA.pem CE:\OpenSSL\certs -cecopy ..\certs\ICE-root.pem CE:\OpenSSL\certs -cecopy ..\certs\ICE-user.pem CE:\OpenSSL\certs -cecopy ..\certs\nortelCA.pem CE:\OpenSSL\certs -cecopy ..\certs\pca-cert.pem CE:\OpenSSL\certs -cecopy ..\certs\RegTP-4R.pem CE:\OpenSSL\certs -cecopy ..\certs\RegTP-5R.pem CE:\OpenSSL\certs -cecopy ..\certs\RegTP-6R.pem CE:\OpenSSL\certs -cecopy ..\certs\rsa-cca.pem CE:\OpenSSL\certs -cecopy ..\certs\thawteCb.pem CE:\OpenSSL\certs -cecopy ..\certs\thawteCp.pem CE:\OpenSSL\certs -cecopy ..\certs\timCA.pem CE:\OpenSSL\certs -cecopy ..\certs\tjhCA.pem CE:\OpenSSL\certs -cecopy ..\certs\vsign1.pem CE:\OpenSSL\certs -cecopy ..\certs\vsign2.pem CE:\OpenSSL\certs -cecopy ..\certs\vsign3.pem CE:\OpenSSL\certs -cecopy ..\certs\vsignss.pem CE:\OpenSSL\certs -cecopy ..\certs\vsigntca.pem CE:\OpenSSL\certs -cerun CE:\OpenSSL\openssl verify -CAfile \OpenSSL\cert.tmp \OpenSSL\certs\*.pem - -echo testss -call %test%\testssce openssl.exe -if errorlevel 1 goto done - -cecopy ssltest.exe CE:\OpenSSL -cecopy ..\apps\server.pem CE:\OpenSSL -cecopy ..\apps\client.pem CE:\OpenSSL - -echo test sslv3 -cerun CE:\OpenSSL\ssltest -ssl3 -if errorlevel 1 goto done - -echo test sslv3 with server authentication -cerun CE:\OpenSSL\ssltest -ssl3 -server_auth -CAfile \OpenSSL\cert.tmp -if errorlevel 1 goto done - -echo test sslv3 with client authentication -cerun CE:\OpenSSL\ssltest -ssl3 -client_auth -CAfile \OpenSSL\cert.tmp -if errorlevel 1 goto done - -echo test sslv3 with both client and server authentication -cerun CE:\OpenSSL\ssltest -ssl3 -server_auth -client_auth -CAfile \OpenSSL\cert.tmp -if errorlevel 1 goto done - -echo test sslv2/sslv3 -cerun CE:\OpenSSL\ssltest -if errorlevel 1 goto done - -echo test sslv2/sslv3 with server authentication -cerun CE:\OpenSSL\ssltest -server_auth -CAfile \OpenSSL\cert.tmp -if errorlevel 1 goto done - -echo test sslv2/sslv3 with client authentication -cerun CE:\OpenSSL\ssltest -client_auth -CAfile \OpenSSL\cert.tmp -if errorlevel 1 goto done - -echo test sslv2/sslv3 with both client and server authentication -cerun CE:\OpenSSL\ssltest -server_auth -client_auth -CAfile \OpenSSL\cert.tmp -if errorlevel 1 goto done - -echo test sslv2/sslv3 with 1024 bit DHE via BIO pair -cerun CE:\OpenSSL\ssltest -bio_pair -dhe1024dsa -v -if errorlevel 1 goto done - -echo test sslv3 via BIO pair -cerun CE:\OpenSSL\ssltest -bio_pair -ssl3 -if errorlevel 1 goto done - -echo test sslv3 with server authentication via BIO pair -cerun CE:\OpenSSL\ssltest -bio_pair -ssl3 -server_auth -CAfile \OpenSSL\cert.tmp -if errorlevel 1 goto done - -echo test sslv3 with client authentication via BIO pair -cerun CE:\OpenSSL\ssltest -bio_pair -ssl3 -client_auth -CAfile \OpenSSL\cert.tmp -if errorlevel 1 goto done - -echo test sslv3 with both client and server authentication via BIO pair -cerun CE:\OpenSSL\ssltest -bio_pair -ssl3 -server_auth -client_auth -CAfile \OpenSSL\cert.tmp -if errorlevel 1 goto done - -echo test sslv2/sslv3 via BIO pair -cerun CE:\OpenSSL\ssltest -if errorlevel 1 goto done - -echo test sslv2/sslv3 with server authentication -cerun CE:\OpenSSL\ssltest -bio_pair -server_auth -CAfile \OpenSSL\cert.tmp -if errorlevel 1 goto done - -echo test sslv2/sslv3 with client authentication via BIO pair -cerun CE:\OpenSSL\ssltest -bio_pair -client_auth -CAfile \OpenSSL\cert.tmp -if errorlevel 1 goto done - -echo test sslv2/sslv3 with both client and server authentication via BIO pair -cerun CE:\OpenSSL\ssltest -bio_pair -server_auth -client_auth -CAfile \OpenSSL\cert.tmp -if errorlevel 1 goto done - -del cert.tmp - -echo passed all tests -goto end -:done -echo problems..... -:end -PATH=%opath% - diff --git a/ms/testce2.bat b/ms/testce2.bat deleted file mode 100644 index 24265b948f..0000000000 --- a/ms/testce2.bat +++ /dev/null @@ -1,2 +0,0 @@ -cecopy %1.exe CE:\OpenSSL -cerun CE:\OpenSSL\%1 %2 %3 %4 %5 %6 %7 %8 %9 diff --git a/ms/testenc.bat b/ms/testenc.bat deleted file mode 100755 index f8e90939ed..0000000000 --- a/ms/testenc.bat +++ /dev/null @@ -1,94 +0,0 @@ -@echo off -echo start testenc - -path=..\ms;%path% -set ssleay=%1% -set input=..\ms\testenc.bat -set tmp1=..\ms\cipher.out -set out1=..\ms\clear.out -set cmp=perl ..\ms\cmp.pl - -cd -call tenc.bat enc -if errorlevel 1 goto err - -call tenc.bat rc4 -if errorlevel 1 goto err - -call tenc.bat des-cfb -if errorlevel 1 goto err - -call tenc.bat des-ede-cfb -if errorlevel 1 goto err - -call tenc.bat des-ede3-cfb -if errorlevel 1 goto err - -call tenc.bat des-ofb -if errorlevel 1 goto err - -call tenc.bat des-ede-ofb -if errorlevel 1 goto err - -call tenc.bat des-ede3-ofb -if errorlevel 1 goto err - -call tenc.bat des-ecb -if errorlevel 1 goto err - -call tenc.bat des-ede -if errorlevel 1 goto err - -call tenc.bat des-ede3 -if errorlevel 1 goto err - -call tenc.bat des-cbc -if errorlevel 1 goto err - -call tenc.bat des-ede-cbc -if errorlevel 1 goto err - -call tenc.bat des-ede3-cbc -if errorlevel 1 goto err - -call tenc.bat idea-ecb -if errorlevel 1 goto err - -call tenc.bat idea-cfb -if errorlevel 1 goto err - -call tenc.bat idea-ofb -if errorlevel 1 goto err - -call tenc.bat idea-cbc -if errorlevel 1 goto err - -call tenc.bat rc2-ecb -if errorlevel 1 goto err - -call tenc.bat rc2-cfb -if errorlevel 1 goto err - -call tenc.bat rc2-ofb -if errorlevel 1 goto err - -call tenc.bat rc2-cbc -if errorlevel 1 goto err - -call tenc.bat bf-ecb -if errorlevel 1 goto err - -call tenc.bat bf-cfb -if errorlevel 1 goto err - -call tenc.bat bf-ofb -if errorlevel 1 goto err - -call tenc.bat bf-cbc -if errorlevel 1 goto err - -echo OK -del %out1% -del %tmp1% -:err - diff --git a/ms/testencce.bat b/ms/testencce.bat deleted file mode 100644 index 1da3e0861f..0000000000 --- a/ms/testencce.bat +++ /dev/null @@ -1,97 +0,0 @@ -@echo off -echo start testenc - -path=..\ms;%path% -set ssleay=%1% -copy ..\ms\testenc.bat >nul -set input=testenc.bat -set tmp1=cipher.out -set out1=clear.out -set cmp=perl ..\ms\cmp.pl - -cecopy %ssleay% CE:\OpenSSL - -cd -call tencce.bat enc -if errorlevel 1 goto err - -call tencce.bat rc4 -if errorlevel 1 goto err - -call tencce.bat des-cfb -if errorlevel 1 goto err - -call tencce.bat des-ede-cfb -if errorlevel 1 goto err - -call tencce.bat des-ede3-cfb -if errorlevel 1 goto err - -call tencce.bat des-ofb -if errorlevel 1 goto err - -call tencce.bat des-ede-ofb -if errorlevel 1 goto err - -call tencce.bat des-ede3-ofb -if errorlevel 1 goto err - -call tencce.bat des-ecb -if errorlevel 1 goto err - -call tencce.bat des-ede -if errorlevel 1 goto err - -call tencce.bat des-ede3 -if errorlevel 1 goto err - -call tencce.bat des-cbc -if errorlevel 1 goto err - -call tencce.bat des-ede-cbc -if errorlevel 1 goto err - -call tencce.bat des-ede3-cbc -if errorlevel 1 goto err - -call tencce.bat idea-ecb -if errorlevel 1 goto err - -call tencce.bat idea-cfb -if errorlevel 1 goto err - -call tencce.bat idea-ofb -if errorlevel 1 goto err - -call tencce.bat idea-cbc -if errorlevel 1 goto err - -call tencce.bat rc2-ecb -if errorlevel 1 goto err - -call tencce.bat rc2-cfb -if errorlevel 1 goto err - -call tencce.bat rc2-ofb -if errorlevel 1 goto err - -call tencce.bat rc2-cbc -if errorlevel 1 goto err - -call tencce.bat bf-ecb -if errorlevel 1 goto err - -call tencce.bat bf-cfb -if errorlevel 1 goto err - -call tencce.bat bf-ofb -if errorlevel 1 goto err - -call tencce.bat bf-cbc -if errorlevel 1 goto err - -echo OK -del %out1% >nul 2>&1 -del %tmp1% >nul 2>&1 -:err - diff --git a/ms/testpem.bat b/ms/testpem.bat deleted file mode 100755 index 8b2e844d36..0000000000 --- a/ms/testpem.bat +++ /dev/null @@ -1,32 +0,0 @@ -@echo off -set ssleay=%1% -set tmp1=pem.out -set cmp=fc.exe - -call tpem.bat crl ..\test\testcrl.pem -if errorlevel 1 goto err - -call tpem.bat pkcs7 ..\test\testp7.pem -if errorlevel 1 goto err - -call tpem.bat req ..\test\testreq2.pem -if errorlevel 1 goto err - -call tpem.bat rsa ..\test\testrsa.pem -if errorlevel 1 goto err - -call tpem.bat x509 ..\test\testx509.pem -if errorlevel 1 goto err - -call tpem.bat x509 ..\test\v3-cert1.pem -if errorlevel 1 goto err - -call tpem.bat x509 ..\test\v3-cert1.pem -if errorlevel 1 goto err - -call tpem.bat sess_id ..\test\testsid.pem -if errorlevel 1 goto err - -echo OK -del %tmp1% -:err diff --git a/ms/testpemce.bat b/ms/testpemce.bat deleted file mode 100644 index ac64a7912c..0000000000 --- a/ms/testpemce.bat +++ /dev/null @@ -1,42 +0,0 @@ -@echo off -set ssleay=%1% -set tmp1=pem.out -set cmp=fc.exe - -cecopy %ssleay% CE:\OpenSSL - -copy ..\test\testcrl.pem >nul -call tpemce.bat crl testcrl.pem -if errorlevel 1 goto err - -copy ..\test\testp7.pem >nul -call tpemce.bat pkcs7 testp7.pem -if errorlevel 1 goto err - -copy ..\test\testreq2.pem >nul -call tpemce.bat req testreq2.pem -if errorlevel 1 goto err - -copy ..\test\testrsa.pem >nul -call tpemce.bat rsa testrsa.pem -if errorlevel 1 goto err - -copy ..\test\testx509.pem >nul -call tpemce.bat x509 testx509.pem -if errorlevel 1 goto err - -copy ..\test\v3-cert1.pem >nul -call tpemce.bat x509 v3-cert1.pem -if errorlevel 1 goto err - -copy ..\test\v3-cert1.pem >nul -call tpemce.bat x509 v3-cert1.pem -if errorlevel 1 goto err - -copy ..\test\testsid.pem >nul -call tpemce.bat sess_id testsid.pem -if errorlevel 1 goto err - -echo OK -del %tmp1% >nul 2>&1 -:err diff --git a/ms/testss.bat b/ms/testss.bat deleted file mode 100755 index 5afa131dba..0000000000 --- a/ms/testss.bat +++ /dev/null @@ -1,98 +0,0 @@ -@echo off - -rem set ssleay=..\out\ssleay -set ssleay=%1 - -set reqcmd=%ssleay% req -set x509cmd=%ssleay% x509 -sha1 -set verifycmd=%ssleay% verify - -set CAkey=keyCA.ss -set CAcert=certCA.ss -set CAserial=certCA.srl -set CAreq=reqCA.ss -set CAconf=..\test\CAss.cnf -set CAreq2=req2CA.ss - -set Uconf=..\test\Uss.cnf -set Ukey=keyU.ss -set Ureq=reqU.ss -set Ucert=certU.ss - -echo make a certificate request using 'req' -%reqcmd% -config %CAconf% -out %CAreq% -keyout %CAkey% -new -if errorlevel 1 goto e_req - -echo convert the certificate request into a self signed certificate using 'x509' -%x509cmd% -CAcreateserial -in %CAreq% -days 30 -req -out %CAcert% -signkey %CAkey% >err.ss -if errorlevel 1 goto e_x509 - -echo -- -echo convert a certificate into a certificate request using 'x509' -%x509cmd% -in %CAcert% -x509toreq -signkey %CAkey% -out %CAreq2% >err.ss -if errorlevel 1 goto e_x509_2 - -%reqcmd% -verify -in %CAreq% -noout -if errorlevel 1 goto e_vrfy_1 - -%reqcmd% -verify -in %CAreq2% -noout -if errorlevel 1 goto e_vrfy_2 - -%verifycmd% -CAfile %CAcert% %CAcert% -if errorlevel 1 goto e_vrfy_3 - -echo -- -echo make another certificate request using 'req' -%reqcmd% -config %Uconf% -out %Ureq% -keyout %Ukey% -new >err.ss -if errorlevel 1 goto e_req_gen - -echo -- -echo sign certificate request with the just created CA via 'x509' -%x509cmd% -CAcreateserial -in %Ureq% -days 30 -req -out %Ucert% -CA %CAcert% -CAkey %CAkey% -CAserial %CAserial% -if errorlevel 1 goto e_x_sign - -%verifycmd% -CAfile %CAcert% %Ucert% -echo -- -echo Certificate details -%x509cmd% -subject -issuer -startdate -enddate -noout -in %Ucert% - -echo Everything appeared to work -echo -- -echo The generated CA certificate is %CAcert% -echo The generated CA private key is %CAkey% -echo The current CA signing serial number is in %CAserial% - -echo The generated user certificate is %Ucert% -echo The generated user private key is %Ukey% -echo -- - -del err.ss - -goto end - -:e_req -echo error using 'req' to generate a certificate request -goto end -:e_x509 -echo error using 'x509' to self sign a certificate request -goto end -:e_x509_2 -echo error using 'x509' convert a certificate to a certificate request -goto end -:e_vrfy_1 -echo first generated request is invalid -goto end -:e_vrfy_2 -echo second generated request is invalid -goto end -:e_vrfy_3 -echo first generated cert is invalid -goto end -:e_req_gen -echo error using 'req' to generate a certificate request -goto end -:e_x_sign -echo error using 'x509' to sign a certificate request -goto end - -:end diff --git a/ms/testssce.bat b/ms/testssce.bat deleted file mode 100644 index 18381ed2fa..0000000000 --- a/ms/testssce.bat +++ /dev/null @@ -1,104 +0,0 @@ -rem set ssleay=..\out\ssleay -set ssleay=%1 - -set reqcmd=%ssleay% req -set x509cmd=%ssleay% x509 -set verifycmd=%ssleay% verify - -set CAkey=\OpenSSL\keyCA.ss -set CAcert=\OpenSSL\certCA.ss -set CAserial=\OpenSSL\certCA.srl -set CAreq=\OpenSSL\reqCA.ss -cecopy ..\test\CAss.cnf CE:\OpenSSL -set CAconf=\OpenSSL\CAss.cnf -set CAreq2=\OpenSSL\req2CA.ss - -cecopy ..\test\Uss.cnf CE:\OpenSSL -set Uconf=\OpenSSL\Uss.cnf -set Ukey=\OpenSSL\keyU.ss -set Ureq=\OpenSSL\reqU.ss -set Ucert=\OpenSSL\certU.ss - -echo make a certificate request using 'req' -cerun CE:\OpenSSL\%reqcmd% -config %CAconf% -out %CAreq% -keyout %CAkey% -new -if errorlevel 1 goto e_req - -echo convert the certificate request into a self signed certificate using 'x509' -cerun CE:\OpenSSL\%x509cmd% -CAcreateserial -in %CAreq% -days 30 -req -out %CAcert% -signkey %CAkey% "> \OpenSSL\err.ss" -if errorlevel 1 goto e_x509 - -echo -- -echo convert a certificate into a certificate request using 'x509' -cerun CE:\OpenSSL\%x509cmd% -in %CAcert% -x509toreq -signkey %CAkey% -out %CAreq2% "> \OpenSSL\err.ss" -if errorlevel 1 goto e_x509_2 - -cerun CE:\OpenSSL\%reqcmd% -verify -in %CAreq% -noout -if errorlevel 1 goto e_vrfy_1 - -cerun CE:\OpenSSL\%reqcmd% -verify -in %CAreq2% -noout -if errorlevel 1 goto e_vrfy_2 - -cerun CE:\OpenSSL\%verifycmd% -CAfile %CAcert% %CAcert% -if errorlevel 1 goto e_vrfy_3 - -echo -- -echo make another certificate request using 'req' -cerun CE:\OpenSSL\%reqcmd% -config %Uconf% -out %Ureq% -keyout %Ukey% -new "> \OpenSSL\err.ss" -if errorlevel 1 goto e_req_gen - -echo -- -echo sign certificate request with the just created CA via 'x509' -cerun CE:\OpenSSL\%x509cmd% -CAcreateserial -in %Ureq% -days 30 -req -out %Ucert% -CA %CAcert% -CAkey %CAkey% -CAserial %CAserial% -if errorlevel 1 goto e_x_sign - -cerun CE:\OpenSSL\%verifycmd% -CAfile %CAcert% %Ucert% -echo -- -echo Certificate details -cerun CE:\OpenSSL\%x509cmd% -subject -issuer -startdate -enddate -noout -in %Ucert% - -cecopy CE:%CAcert% . -cecopy CE:%CAkey% . -cecopy CE:%CAserial% . -cecopy CE:%Ucert% . -cecopy CE:%Ukey% . - -echo Everything appeared to work -echo -- -echo The generated CA certificate is %CAcert% -echo The generated CA private key is %CAkey% -echo The current CA signing serial number is in %CAserial% - -echo The generated user certificate is %Ucert% -echo The generated user private key is %Ukey% -echo -- - -cedel CE:\OpenSSL\err.ss - -goto end - -:e_req -echo error using 'req' to generate a certificate request -goto end -:e_x509 -echo error using 'x509' to self sign a certificate request -goto end -:e_x509_2 -echo error using 'x509' convert a certificate to a certificate request -goto end -:e_vrfy_1 -echo first generated request is invalid -goto end -:e_vrfy_2 -echo second generated request is invalid -goto end -:e_vrfy_3 -echo first generated cert is invalid -goto end -:e_req_gen -echo error using 'req' to generate a certificate request -goto end -:e_x_sign -echo error using 'x509' to sign a certificate request -goto end - -:end diff --git a/ms/tpem.bat b/ms/tpem.bat deleted file mode 100755 index cd01792e9f..0000000000 --- a/ms/tpem.bat +++ /dev/null @@ -1,6 +0,0 @@ -rem called by testpem - -echo test %1 %2 -%ssleay% %1 -in %2 -out %tmp1% -%cmp% %2 %tmp1% - diff --git a/ms/tpemce.bat b/ms/tpemce.bat deleted file mode 100644 index 483f559cfa..0000000000 --- a/ms/tpemce.bat +++ /dev/null @@ -1,8 +0,0 @@ -rem called by testpemce - -echo test %1 %2 -cecopy %2 CE:\OpenSSL -cerun CE:\OpenSSL\%ssleay% %1 -in \OpenSSL\%2 -out \OpenSSL\%tmp1% -del %tmp1% >nul 2>&1 -cecopy CE:\OpenSSL\%tmp1% . -%cmp% %2 %tmp1% -- 2.25.1