dgst.c (79998) | dgst.c (100928) |
---|---|
1/* apps/dgst.c */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 73 unchanged lines hidden (view full) --- 82 { 83 unsigned char *buf=NULL; 84 int i,err=0; 85 const EVP_MD *md=NULL,*m; 86 BIO *in=NULL,*inp; 87 BIO *bmd=NULL; 88 BIO *out = NULL; 89 const char *name; | 1/* apps/dgst.c */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 73 unchanged lines hidden (view full) --- 82 { 83 unsigned char *buf=NULL; 84 int i,err=0; 85 const EVP_MD *md=NULL,*m; 86 BIO *in=NULL,*inp; 87 BIO *bmd=NULL; 88 BIO *out = NULL; 89 const char *name; |
90#define PROG_NAME_SIZE 16 91 char pname[PROG_NAME_SIZE]; | 90#define PROG_NAME_SIZE 39 91 char pname[PROG_NAME_SIZE+1]; |
92 int separator=0; 93 int debug=0; 94 const char *outfile = NULL, *keyfile = NULL; 95 const char *sigfile = NULL, *randfile = NULL; 96 int out_bin = -1, want_pub = 0, do_verify = 0; 97 EVP_PKEY *sigkey = NULL; 98 unsigned char *sigbuf = NULL; 99 int siglen = 0; --- 293 unchanged lines hidden --- | 92 int separator=0; 93 int debug=0; 94 const char *outfile = NULL, *keyfile = NULL; 95 const char *sigfile = NULL, *randfile = NULL; 96 int out_bin = -1, want_pub = 0, do_verify = 0; 97 EVP_PKEY *sigkey = NULL; 98 unsigned char *sigbuf = NULL; 99 int siglen = 0; --- 293 unchanged lines hidden --- |