[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 8c0a6d: tests: fix incorrect size_t format in
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] 8c0a6d: tests: fix incorrect size_t format in benchmark-cr... |
Date: |
Tue, 05 Sep 2017 07:58:39 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 8c0a6dc96cd14c48da4a61fe35431f36d6e6e467
https://github.com/qemu/qemu/commit/8c0a6dc96cd14c48da4a61fe35431f36d6e6e467
Author: Philippe Mathieu-Daudé <address@hidden>
Date: 2017-09-04 (Mon, 04 Sep 2017)
Changed paths:
M tests/benchmark-crypto-cipher.c
M tests/benchmark-crypto-hash.c
M tests/benchmark-crypto-hmac.c
Log Message:
-----------
tests: fix incorrect size_t format in benchmark-crypto
$ make check-speed
tests/benchmark-crypto-hash.c: In function 'test_hash_speed':
tests/benchmark-crypto-hash.c:44:5: error: format '%ld' expects argument of
type 'long int', but argument 2 has type 'size_t' [-Werror=format=]
g_print("Testing chunk_size %ld bytes ", chunk_size);
^
tests/benchmark-crypto-hash.c: In function 'main':
tests/benchmark-crypto-hash.c:62:9: error: format '%lu' expects argument of
type 'long unsigned int', but argument 4 has type 'size_t' [-Werror=format=]
snprintf(name, sizeof(name), "/crypto/hash/speed-%lu", i);
^
cc1: all warnings being treated as errors
rules.mak:66: recipe for target 'tests/benchmark-crypto-hash.o' failed
make: *** [tests/benchmark-crypto-hash.o] Error 1
Reviewed-by: Longpeng(Mike) <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>
Commit: 23c1595b0297e6ca8f37559af6f0b8533aa1fd99
https://github.com/qemu/qemu/commit/23c1595b0297e6ca8f37559af6f0b8533aa1fd99
Author: Daniel P. Berrange <address@hidden>
Date: 2017-09-04 (Mon, 04 Sep 2017)
Changed paths:
M tests/crypto-tls-x509-helpers.c
Log Message:
-----------
crypto: fix test cert generation to not use SHA1 algorithm
GNUTLS 3.6.0 marked SHA1 as untrusted for certificates.
Unfortunately the gnutls_x509_crt_sign() method we are
using to create certificates in the test suite is fixed
to always use SHA1. We must switch to a different method
and explicitly ask for SHA256.
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Daniel P. Berrange <address@hidden>
Commit: 6d58d50e5376d8143802a3102289744e660302f0
https://github.com/qemu/qemu/commit/6d58d50e5376d8143802a3102289744e660302f0
Author: Peter Maydell <address@hidden>
Date: 2017-09-05 (Tue, 05 Sep 2017)
Changed paths:
M tests/benchmark-crypto-cipher.c
M tests/benchmark-crypto-hash.c
M tests/benchmark-crypto-hmac.c
M tests/crypto-tls-x509-helpers.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/berrange/tags/pull-qcrypto-20170905-1'
into staging
Merge QEMU crypto 2017/09/05 v1
# gpg: Signature made Tue 05 Sep 2017 10:28:17 BST
# gpg: using RSA key 0xBE86EBB415104FDF
# gpg: Good signature from "Daniel P. Berrange <address@hidden>"
# gpg: aka "Daniel P. Berrange <address@hidden>"
# Primary key fingerprint: DAF3 A6FD B26B 6291 2D0E 8E3F BE86 EBB4 1510 4FDF
* remotes/berrange/tags/pull-qcrypto-20170905-1:
crypto: fix test cert generation to not use SHA1 algorithm
tests: fix incorrect size_t format in benchmark-crypto
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/d3e3447d3df1...6d58d50e5376
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 8c0a6d: tests: fix incorrect size_t format in benchmark-cr...,
GitHub <=