summaryrefslogtreecommitdiffstats
path: root/apps/dgst.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-04-06 19:00:50 +0000
committerRichard Levitte <levitte@openssl.org>2002-04-06 19:00:50 +0000
commitdfee50ecd90ff71e8ba326d31394300af64942e8 (patch)
tree16138966885e9fe1de9ee19710c303728c5ae2d8 /apps/dgst.c
parent10189984f9bd9b99652336f2255da5a7479eb7e6 (diff)
Allow longer program names (VMS allows up to 39 characters).
Submitted by Compaq.
Diffstat (limited to 'apps/dgst.c')
-rw-r--r--apps/dgst.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dgst.c b/apps/dgst.c
index c3e37be41f..0620b32bb4 100644
--- a/apps/dgst.c
+++ b/apps/dgst.c
@@ -88,8 +88,8 @@ int MAIN(int argc, char **argv)
BIO *bmd=NULL;
BIO *out = NULL;
const char *name;
-#define PROG_NAME_SIZE 16
- char pname[PROG_NAME_SIZE];
+#define PROG_NAME_SIZE 39
+ char pname[PROG_NAME_SIZE+1];
int separator=0;
int debug=0;
int keyform=FORMAT_PEM;