aboutsummaryrefslogtreecommitdiff
path: root/test/threadstest.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/threadstest.c')
-rw-r--r--test/threadstest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/threadstest.c b/test/threadstest.c
index 289565c14b5d..046a9eb80239 100644
--- a/test/threadstest.c
+++ b/test/threadstest.c
@@ -358,7 +358,7 @@ static void thread_general_worker(void)
* Therefore we use an insecure bit length where we can (512).
* In the FIPS module though we must use a longer length.
*/
- pkey = EVP_PKEY_Q_keygen(multi_libctx, NULL, "RSA", isfips ? 2048 : 512);
+ pkey = EVP_PKEY_Q_keygen(multi_libctx, NULL, "RSA", (size_t)(isfips ? 2048 : 512));
if (!TEST_ptr(pkey))
goto err;