projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bug in copy_email() which would not
[openssl.git]
/
apps
/
dgst.c
diff --git
a/apps/dgst.c
b/apps/dgst.c
index 8500f6c7e67501ba1f0c78b2adc8baca16f0987e..a6b2e309c42d4772fb70816044aeb2f7d3ef7f0e 100644
(file)
--- a/
apps/dgst.c
+++ b/
apps/dgst.c
@@
-74,7
+74,7
@@
#undef PROG
#define PROG dgst_main
#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 **);
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;
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;
EVP_PKEY *sigkey = NULL;
unsigned char *sigbuf = NULL;
int siglen = 0;
@@
-272,7
+272,7
@@
int MAIN(int argc, char **argv)
else out = BIO_new_file(outfile, "w");
} else {
out = BIO_new_fp(stdout, BIO_NOCLOSE);
else out = BIO_new_file(outfile, "w");
} else {
out = BIO_new_fp(stdout, BIO_NOCLOSE);
-#ifdef VMS
+#ifdef
OPENSSL_SYS_
VMS
{
BIO *tmpbio = BIO_new(BIO_f_linebuffer());
out = BIO_push(tmpbio, out);
{
BIO *tmpbio = BIO_new(BIO_f_linebuffer());
out = BIO_push(tmpbio, out);
@@
-399,7
+399,7
@@
end:
EXIT(err);
}
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;
EVP_PKEY *key, unsigned char *sigin, int siglen)
{
int len;