Remove the access() call altogether for VMS, since it doesn't quite
[oweals/openssl.git] / apps / rsa.c
index 7d58b1715b3cde84d3e14afb37653dd51e9bec37..879b7ab5224c6177afd4606c1c414c8ce02f2eef 100644 (file)
@@ -86,6 +86,8 @@
  * -pubout     - Output a public key.
  */
 
+int MAIN(int, char **);
+
 int MAIN(int argc, char **argv)
        {
        int ret=1;
@@ -201,8 +203,8 @@ bad:
                BIO_printf(bio_err," -envpassin arg  environment variable containing input file pass phrase\n");
                BIO_printf(bio_err," -in arg         input file\n");
                BIO_printf(bio_err," -out arg        output file\n");
-               BIO_printf(bio_err," -passout arg    input file pass phrase\n");
-               BIO_printf(bio_err," -envpassout arg environment variable containing input file pass phrase\n");
+               BIO_printf(bio_err," -passout arg    output file pass phrase\n");
+               BIO_printf(bio_err," -envpassout arg environment variable containing output file pass phrase\n");
                BIO_printf(bio_err," -des            encrypt PEM output with cbc des\n");
                BIO_printf(bio_err," -des3           encrypt PEM output with ede cbc des using 168 bit key\n");
 #ifndef NO_IDEA
@@ -271,7 +273,7 @@ bad:
                                }
                        }
                p=(unsigned char *)buf->data;
-               rsa=(RSA *)d2i_Netscape_RSA(NULL,&p,(long)size,NULL);
+               rsa=d2i_Netscape_RSA(NULL,&p,(long)size,NULL);
                BUF_MEM_free(buf);
                }
 #endif
@@ -395,4 +397,10 @@ end:
        if (rsa != NULL) RSA_free(rsa);
        EXIT(ret);
        }
+#else /* !NO_RSA */
+
+# if PEDANTIC
+static void *dummy=&dummy;
+# endif
+
 #endif