Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-04-07 00:22:40 +0400
committerRichard Levitte <levitte@openssl.org>2002-04-07 00:22:40 +0400
commit37562f753a872eb5ea0a76dfd0b2c592369044df (patch)
tree9d49057711d02c295144d1d025a654dd90762714 /demos
parent248252682c77038a5f29ca37e028093871f9daa2 (diff)
Allow longer program names (VMS allows up to 39 characters).
Submitted by Compaq.
Diffstat (limited to 'demos')
-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();