summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tests/eet/eet_test_identity.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/tests/eet/eet_test_identity.c b/src/tests/eet/eet_test_identity.c
index 641a53fa78..b22d537021 100644
--- a/src/tests/eet/eet_test_identity.c
+++ b/src/tests/eet/eet_test_identity.c
@@ -156,11 +156,17 @@ EFL_START_TEST(eet_test_identity_open_pkcs8)
156} 156}
157EFL_END_TEST 157EFL_END_TEST
158 158
159static int
160pw_cb(char *buf EINA_UNUSED, int size EINA_UNUSED, int rwflag EINA_UNUSED, void *data EINA_UNUSED)
161{
162 return 0;
163}
164
159EFL_START_TEST(eet_test_identity_open_pkcs8_enc) 165EFL_START_TEST(eet_test_identity_open_pkcs8_enc)
160{ 166{
161 Eet_Key *k = NULL; 167 Eet_Key *k = NULL;
162 168
163 k = eet_identity_open(_cert_pem, _key_enc_pem, NULL); 169 k = eet_identity_open(_cert_pem, _key_enc_pem, pw_cb);
164 fail_if(k); 170 fail_if(k);
165 171
166 if (k) 172 if (k)