diff options
author | Richard Levitte <levitte@openssl.org> | 2000-10-31 11:58:56 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-10-31 11:58:56 +0000 |
commit | 92125ffaec1b9d68c5eebbcc62f0e71751f2b919 (patch) | |
tree | a8bf1b092d89ff21e706416af789b9afdc89ec11 /apps/dgst.c | |
parent | 7db2fcaa816c657c2524f18ca91c02e46d715884 (diff) |
Make flag variables int instead of char. This avoids getting into trouble on systems where char is unsigned by default
Diffstat (limited to 'apps/dgst.c')
-rw-r--r-- | apps/dgst.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/dgst.c b/apps/dgst.c index 8500f6c7e6..4f1660c2a6 100644 --- a/apps/dgst.c +++ b/apps/dgst.c @@ -74,7 +74,7 @@ #undef PROG #define PROG dgst_main -void do_fp(BIO *out, unsigned char *buf, BIO *bp, int sep, char binout, +void do_fp(BIO *out, unsigned char *buf, BIO *bp, int sep, int binout, EVP_PKEY *key, unsigned char *sigin, int siglen); int MAIN(int, char **); @@ -96,7 +96,7 @@ int MAIN(int argc, char **argv) int keyform=FORMAT_PEM; const char *outfile = NULL, *keyfile = NULL; const char *sigfile = NULL, *randfile = NULL; - char out_bin = -1, want_pub = 0, do_verify = 0; + int out_bin = -1, want_pub = 0, do_verify = 0; EVP_PKEY *sigkey = NULL; unsigned char *sigbuf = NULL; int siglen = 0; @@ -399,7 +399,7 @@ end: EXIT(err); } -void do_fp(BIO *out, unsigned char *buf, BIO *bp, int sep, char binout, +void do_fp(BIO *out, unsigned char *buf, BIO *bp, int sep, int binout, EVP_PKEY *key, unsigned char *sigin, int siglen) { int len; |