Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 8c0a6dc96cd14c48da4a61fe35431f36d6e6e467 https://github.com/qemu/qemu/commit/8c0a6dc96cd14c48da4a61fe35431f36d6e6e467 Author: Philippe Mathieu-Daudé <f4...@amsat.org> 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) <longp...@huawei.com> Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Signed-off-by: Daniel P. Berrange <berra...@redhat.com> Commit: 23c1595b0297e6ca8f37559af6f0b8533aa1fd99 https://github.com/qemu/qemu/commit/23c1595b0297e6ca8f37559af6f0b8533aa1fd99 Author: Daniel P. Berrange <berra...@redhat.com> 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 <ebl...@redhat.com> Signed-off-by: Daniel P. Berrange <berra...@redhat.com> Commit: 6d58d50e5376d8143802a3102289744e660302f0 https://github.com/qemu/qemu/commit/6d58d50e5376d8143802a3102289744e660302f0 Author: Peter Maydell <peter.mayd...@linaro.org> 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 <d...@berrange.com>" # gpg: aka "Daniel P. Berrange <berra...@redhat.com>" # 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 <peter.mayd...@linaro.org> Compare: https://github.com/qemu/qemu/compare/d3e3447d3df1...6d58d50e5376