diff options
author | Richard Levitte <levitte@openssl.org> | 2002-04-06 20:22:40 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-04-06 20:22:40 +0000 |
commit | 37562f753a872eb5ea0a76dfd0b2c592369044df (patch) | |
tree | 9d49057711d02c295144d1d025a654dd90762714 /demos | |
parent | 248252682c77038a5f29ca37e028093871f9daa2 (diff) |
Allow longer program names (VMS allows up to 39 characters).
Submitted by Compaq.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/b64.c | 4 |
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(); |