summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--demos/b64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/b64.c b/demos/b64.c
index 8e248e7e72..113da89baf 100644
--- a/demos/b64.c
+++ b/demos/b64.c
@@ -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();