summaryrefslogtreecommitdiffstats
path: root/ms
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-06-01 12:09:51 +0000
committerBodo Möller <bodo@openssl.org>1999-06-01 12:09:51 +0000
commit7eeb37e1e49cf08b8a8b2b52170a6b6e331cfdcd (patch)
treebad6369d2a4cda72f93c61bcb2f2d4af47576302 /ms
parent0a78c2976007c89d05c1b546433db57319e814d8 (diff)
Labels longer than eight characters might cause problems.
Diffstat (limited to 'ms')
-rwxr-xr-xms/testss.bat32
1 files changed, 16 insertions, 16 deletions
diff --git a/ms/testss.bat b/ms/testss.bat
index 11cbbc62f9..36863a5017 100755
--- a/ms/testss.bat
+++ b/ms/testss.bat
@@ -21,35 +21,35 @@ set Ucert=certU.ss
echo make a certificate request using 'req'
%reqcmd% -config %CAconf% -out %CAreq% -keyout %CAkey% -new
-if errorlevel 1 goto err_req
+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 err_x509
+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 err_x509_2
+if errorlevel 1 goto e_x509_2
%reqcmd% -verify -in %CAreq% -noout
-if errorlevel 1 goto err_verify_1
+if errorlevel 1 goto e_vrfy_1
%reqcmd% -verify -in %CAreq2% -noout
-if errorlevel 1 goto err_verify_2
+if errorlevel 1 goto e_vrfy_2
%verifycmd% -CAfile %CAcert% %CAcert%
-if errorlevel 1 goto err_verify_3
+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 err_req_gen
+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 err_x509_sign
+if errorlevel 1 goto e_x_sign
%verifycmd% -CAfile %CAcert% %Ucert%
echo --
@@ -70,28 +70,28 @@ del err.ss
goto end
-:err_req
+:e_req
echo error using 'req' to generate a certificate request
goto end
-:err_x509
+:e_x509
echo error using 'x509' to self sign a certificate request
goto end
-:err_x509_2
+:e_x509_2
echo error using 'x509' convert a certificate to a certificate request
goto end
-:err_verify_1
+:e_vrfy_1
echo first generated request is invalid
goto end
-:err_verify_2
+:e_vrfy_2
echo second generated request is invalid
goto end
-:err_verify_3
+:e_vrfy_3
echo first generated cert is invalid
goto end
-:err_req_gen
+:e_req_gen
echo error using 'req' to generate a certificate request
goto end
-:err_x509_sign
+:e_x_sign
echo error using 'x509' to sign a certificate request
goto end