summaryrefslogtreecommitdiff
path: root/scripts/keyid2sql.c
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/keyid2sql.c')
-rw-r--r--scripts/keyid2sql.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/keyid2sql.c b/scripts/keyid2sql.c
index 2d17c273d..e37303c08 100644
--- a/scripts/keyid2sql.c
+++ b/scripts/keyid2sql.c
@@ -34,7 +34,7 @@ int main(int argc, char *argv[])
BUILD_END);
if (private)
{
- if (private->get_fingerprint(private, KEY_ID_PUBKEY_SHA1, &chunk))
+ if (private->get_fingerprint(private, KEYID_PUBKEY_SHA1, &chunk))
{
printf("%d, X'", ID_KEY_ID);
for (n = 0; n < chunk.len; n++)
@@ -58,7 +58,7 @@ int main(int argc, char *argv[])
}
if (public)
{
- if (public->get_fingerprint(public, KEY_ID_PUBKEY_SHA1, &chunk))
+ if (public->get_fingerprint(public, KEYID_PUBKEY_SHA1, &chunk))
{
printf("%d, X'", ID_KEY_ID);
for (n = 0; n < chunk.len; n++)