diff options
author | Hans Nilsson <[email protected]> | 2019-04-05 18:10:55 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2019-04-10 10:25:21 +0200 |
commit | e3efa0b72246a85c3cd393014b6046dddfd271f0 (patch) | |
tree | 2220392aa7d4299c159d81b88d9d2d7b2e034099 /lib/crypto | |
parent | 4cdf1947c5b31e931c85ba6ac6ec6f2a7f12ef86 (diff) | |
download | otp-e3efa0b72246a85c3cd393014b6046dddfd271f0.tar.gz otp-e3efa0b72246a85c3cd393014b6046dddfd271f0.tar.bz2 otp-e3efa0b72246a85c3cd393014b6046dddfd271f0.zip |
crypto: Remove compiler warning on an fprintf in the otp test engine
The otp_test_engine is only used in some of the test cases.
Diffstat (limited to 'lib/crypto')
-rw-r--r-- | lib/crypto/c_src/otp_test_engine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/c_src/otp_test_engine.c b/lib/crypto/c_src/otp_test_engine.c index 4a155becf8..c3bd9dfb55 100644 --- a/lib/crypto/c_src/otp_test_engine.c +++ b/lib/crypto/c_src/otp_test_engine.c @@ -160,7 +160,7 @@ static int test_engine_md5_update(EVP_MD_CTX *ctx,const void *data, size_t count static int test_engine_md5_final(EVP_MD_CTX *ctx,unsigned char *md) { #ifdef OLD - fprintf(stderr, "MD5 final size of EVP_MD: %lu\r\n", sizeof(EVP_MD)); + fprintf(stderr, "MD5 final size of EVP_MD: %lu\r\n", (unsigned long)sizeof(EVP_MD)); if (!MD5_Final(md, data(ctx))) goto err; |