aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_ffi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_ffi.cpp')
-rw-r--r--src/tests/test_ffi.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test_ffi.cpp b/src/tests/test_ffi.cpp
index fddc9874d..58b491a9a 100644
--- a/src/tests/test_ffi.cpp
+++ b/src/tests/test_ffi.cpp
@@ -1902,7 +1902,7 @@ class FFI_Unit_Tests final : public Test
TEST_FFI_OK(botan_pk_op_sign_destroy, (signer));
}
- botan_pk_op_verify_t verifier;
+ botan_pk_op_verify_t verifier = nullptr;
if(signature.size() > 0 && TEST_FFI_OK(botan_pk_op_verify_create, (&verifier, pub, "EMSA1(SHA-256)", 0)))
{
@@ -2008,7 +2008,7 @@ class FFI_Unit_Tests final : public Test
TEST_FFI_OK(botan_pk_op_sign_destroy, (signer));
}
- botan_pk_op_verify_t verifier;
+ botan_pk_op_verify_t verifier = nullptr;
if(signature.size() > 0 && TEST_FFI_OK(botan_pk_op_verify_create, (&verifier, pub, "EMSA1(SHA-384)", 0)))
{