summaryrefslogtreecommitdiff
path: root/demos/b64.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-04-06 20:22:48 +0000
committerRichard Levitte <levitte@openssl.org>2002-04-06 20:22:48 +0000
commitd16e1131b4556203b17bd05df93218b2dbb0ccb2 (patch)
tree8dbeeda32a07c171092017dfa7163fe216ba8050 /demos/b64.c
parenta18894d159651891d11155af2feaadb18b4f256c (diff)
downloadopenssl-new-d16e1131b4556203b17bd05df93218b2dbb0ccb2.tar.gz
Allow longer program names (VMS allows up to 39 characters).
Submitted by Compaq.
Diffstat (limited to 'demos/b64.c')
-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();