summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLutz Jänicke <jaenicke@openssl.org>2001-04-15 10:30:01 +0000
committerLutz Jänicke <jaenicke@openssl.org>2001-04-15 10:30:01 +0000
commit514481f68622210a579ba31ebd6fd18cc851917f (patch)
tree7f8c86b5ab5b111841342f4818a1a17073dc3047 /apps
parentb089e64654424b5ede5e5f72897e0e79f36756d9 (diff)
-1 cannot work on platforms with unsigned char
(Jun-ichiro itojun Hagino <itojun@iijlab.net>).
Diffstat (limited to 'apps')
-rw-r--r--apps/dgst.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/dgst.c b/apps/dgst.c
index 0e93c97ca5..481332a58f 100644
--- a/apps/dgst.c
+++ b/apps/dgst.c
@@ -73,7 +73,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 **);
@@ -93,7 +93,7 @@ int MAIN(int argc, char **argv)
int debug=0;
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;
@@ -338,7 +338,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;