Fix PEDANTIC compilation, using the same trick as elsewhere.
[oweals/openssl.git] / apps / smime.c
index 57ac6d8a265c0f9e3b7e22273714e96ccfb8587e..253cca7f59ba11094fb995f06b35b7ddd43ba466 100644 (file)
@@ -87,7 +87,7 @@ int MAIN(int argc, char **argv)
        int operation = 0;
        int ret = 0;
        char **args;
-       char *inmode = "r", *outmode = "w";
+       const char *inmode = "r", *outmode = "w";
        char *infile = NULL, *outfile = NULL;
        char *signerfile = NULL, *recipfile = NULL;
        char *certfile = NULL, *keyfile = NULL, *contfile=NULL;