From d16e1131b4556203b17bd05df93218b2dbb0ccb2 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sat, 6 Apr 2002 20:22:48 +0000 Subject: [PATCH] Allow longer program names (VMS allows up to 39 characters). Submitted by Compaq. --- demos/b64.c | 4 ++-- 1 file 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(); -- 2.25.1