diff options
author | Rich Salz <rsalz@openssl.org> | 2017-08-15 09:42:38 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2017-08-15 09:42:38 -0400 |
commit | 12997aa984cf0e5def1045fd22d7b0675caaa0a1 (patch) | |
tree | a4f37fb93d0d789dd9b9809a885d1cafd6a36935 /apps | |
parent | b158049cbdff7efa9afd93eb55bb7df95c0f385f (diff) | |
download | openssl-12997aa984cf0e5def1045fd22d7b0675caaa0a1.tar.gz |
Revert "Add some casts for %j"
This reverts commit c4d2e483a39176a476c56d35879423fe6e33c0cd.
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/4160)
Diffstat (limited to 'apps')
-rw-r--r-- | apps/enc.c | 6 | ||||
-rw-r--r-- | apps/s_client.c | 4 |
2 files changed, 4 insertions, 6 deletions
diff --git a/apps/enc.c b/apps/enc.c index 9729d10710..db5d3a2991 100644 --- a/apps/enc.c +++ b/apps/enc.c @@ -555,10 +555,8 @@ int enc_main(int argc, char **argv) ret = 0; if (verbose) { - BIO_printf(bio_err, "bytes read : %8ju\n", - (uintmax_t)BIO_number_read(in)); - BIO_printf(bio_err, "bytes written: %8ju\n", - (uintmax_t)BIO_number_written(out)); + BIO_printf(bio_err, "bytes read : %8ju\n", BIO_number_read(in)); + BIO_printf(bio_err, "bytes written: %8ju\n", BIO_number_written(out)); } end: ERR_print_errors(bio_err); diff --git a/apps/s_client.c b/apps/s_client.c index c322dee1da..45464a4ca9 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -3118,8 +3118,8 @@ static void print_stuff(BIO *bio, SSL *s, int full) BIO_printf(bio, "---\nSSL handshake has read %ju bytes " "and written %ju bytes\n", - (uintmax_t)BIO_number_read(SSL_get_rbio(s)), - (uintmax_t)BIO_number_written(SSL_get_wbio(s))); + BIO_number_read(SSL_get_rbio(s)), + BIO_number_written(SSL_get_wbio(s))); } print_verify_detail(s, bio); BIO_printf(bio, (SSL_session_reused(s) ? "---\nReused, " : "---\nNew, ")); |