Oops -- I fixed only one of them locations. Here's an updated patch.

    Martin
-- 
<[EMAIL PROTECTED]>      |        Siemens Information and
Phone: +49-89-636-46021               |        Communication  Products
FAX:   +49-89-636-47816               |        81730  Munich,  Germany
*** src/support/mkcert.sh.orig  Di 28.Sep.1999, 13:04:40
--- src/support/mkcert.sh       Di 28.Sep.1999, 13:14:40
***************
*** 63,69 ****
          echo "______________________________________________________________________"
          $openssl x509 -noout -text -in $sslcrtdir/ca.crt
          echo ""
!         if [ ".`$openssl x509 -noout -text -in $sslcrtdir/ca.crt | grep "Signature 
Algorithm" | grep -i RSA`" != . ]; then
              echo "${T_MD}CA RSA Private Key${T_ME} [ca.key]"
              echo 
"______________________________________________________________________"
              $openssl rsa -noout -text -in $sslkeydir/ca.key
--- 63,69 ----
          echo "______________________________________________________________________"
          $openssl x509 -noout -text -in $sslcrtdir/ca.crt
          echo ""
!       if [ ".`$openssl x509 -noout -text -in $sslcrtdir/ca.crt | grep \"Signature 
Algorithm\" | grep -i RSA`" != . ]; then
              echo "${T_MD}CA RSA Private Key${T_ME} [ca.key]"
              echo 
"______________________________________________________________________"
              $openssl rsa -noout -text -in $sslkeydir/ca.key
***************
*** 79,85 ****
          echo "______________________________________________________________________"
          $openssl x509 -noout -text -in $sslcrtdir/server.crt
          echo ""
!         if [ ".`$openssl x509 -noout -text -in $sslcrtdir/server.crt | grep 
"Signature Algorithm" | grep -i RSA`" != . ]; then
              echo "${T_MD}Server RSA Private Key${T_ME} [server.key]"
              echo 
"______________________________________________________________________"
              $openssl rsa -noout -text -in $sslkeydir/server.key
--- 79,85 ----
          echo "______________________________________________________________________"
          $openssl x509 -noout -text -in $sslcrtdir/server.crt
          echo ""
!       if [ ".`$openssl x509 -noout -text -in $sslcrtdir/server.crt | grep 
\"Signature Algorithm\" | grep -i RSA`" != . ]; then
              echo "${T_MD}Server RSA Private Key${T_ME} [server.key]"
              echo 
"______________________________________________________________________"
              $openssl rsa -noout -text -in $sslkeydir/server.key

Reply via email to