summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-03-06 17:33:28 +0100
committerSimon Josefsson <simon@josefsson.org>2008-03-06 17:33:28 +0100
commitdcc9013c4ea8df4188428a0503c27ab8ae3a102c (patch)
treefb3950fccc2a32b431d68aa5b1e96cf6717c7d4e
parent513fe4d53caca9e38e99f8bf82678f456f2c77bc (diff)
downloadgnutls-dcc9013c4ea8df4188428a0503c27ab8ae3a102c.tar.gz
Fix warnings.
-rw-r--r--src/cli.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cli.c b/src/cli.c
index 19bb7061af..674f346768 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -168,7 +168,7 @@ static gnutls_x509_privkey_t x509_key = NULL;
static gnutls_openpgp_crt_t pgp_crt = NULL;
static gnutls_openpgp_privkey_t pgp_key = NULL;
-static void get_keyid( gnutls_openpgp_keyid_t* keyid, const char* str)
+static void get_keyid( gnutls_openpgp_keyid_t keyid, const char* str)
{
size_t keyid_size = sizeof(keyid);
@@ -316,7 +316,7 @@ load_keys (void)
}
}
else
- get_keyid( &keyid, info.pgp_subkey);
+ get_keyid( keyid, info.pgp_subkey);
ret = gnutls_openpgp_crt_set_preferred_key_id( pgp_crt, keyid);
if (ret >= 0)