Allow longer program names (VMS allows up to 39 characters).
authorRichard Levitte <levitte@openssl.org>
Sat, 6 Apr 2002 20:22:48 +0000 (20:22 +0000)
committerRichard Levitte <levitte@openssl.org>
Sat, 6 Apr 2002 20:22:48 +0000 (20:22 +0000)
Submitted by Compaq.

demos/b64.c

index 8e248e7..113da89 100644 (file)
@@ -91,8 +91,8 @@ char **argv;
        EVP_CIPHER *cipher=NULL,*c;
        char *inf=NULL,*outf=NULL;
        BIO *in=NULL,*out=NULL,*b64=NULL,*benc=NULL,*rbio=NULL,*wbio=NULL;
-#define PROG_NAME_SIZE  16
-        char pname[PROG_NAME_SIZE];
+#define PROG_NAME_SIZE  39
+        char pname[PROG_NAME_SIZE+1];
 
 
        apps_startup();