aboutsummaryrefslogtreecommitdiffstats
path: root/agent/t-protect.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2005-11-28 11:52:25 +0000
committerWerner Koch <[email protected]>2005-11-28 11:52:25 +0000
commit6a13cf2c3dbacb9f3afd3f64e5d0c78b9c0e77e9 (patch)
tree86758522ae4f5ed44068bc6dbf5d2adb068a3ea1 /agent/t-protect.c
parentAdd translations (diff)
downloadgnupg-6a13cf2c3dbacb9f3afd3f64e5d0c78b9c0e77e9.tar.gz
gnupg-6a13cf2c3dbacb9f3afd3f64e5d0c78b9c0e77e9.zip
Preparing an interim release
Diffstat (limited to 'agent/t-protect.c')
-rw-r--r--agent/t-protect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/agent/t-protect.c b/agent/t-protect.c
index 5187cf8f7..fee3c561d 100644
--- a/agent/t-protect.c
+++ b/agent/t-protect.c
@@ -173,7 +173,8 @@ test_agent_protect (void)
for (i = 0; i < DIM (specs); i++)
{
- ret = agent_protect (specs[i].key, specs[i].passphrase,
+ ret = agent_protect ((const unsigned char*)specs[i].key,
+ specs[i].passphrase,
&specs[i].result, &specs[i].resultlen);
if (gpg_err_code (ret) != specs[i].ret_expected)
{