summaryrefslogtreecommitdiff
path: root/gpg2ssh.c
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@phys.columbia.edu>2008-05-03 11:36:44 -0400
committerJameson Graef Rollins <jrollins@phys.columbia.edu>2008-05-03 11:36:44 -0400
commit7970ab05408ec48ffde9bffddb451a8e49ef6fa6 (patch)
tree7a35f9c1051aad9ef717fe5bb003523f8a56713a /gpg2ssh.c
parent97429d91d8b9e69756efac3a28105535807221f3 (diff)
parentc83951904066fedc425b82ea4dbf6cab64db7cd6 (diff)
Merge commit 'dkg/master'
Diffstat (limited to 'gpg2ssh.c')
-rw-r--r--gpg2ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpg2ssh.c b/gpg2ssh.c
index 6155549..a1e94df 100644
--- a/gpg2ssh.c
+++ b/gpg2ssh.c
@@ -146,7 +146,7 @@ int main(int argc, char* argv[]) {
} else {
err("primary key is only good for: 0x%08x. Trying subkeys...\n", usage);
- if (ret = gnutls_openpgp_crt_get_auth_subkey(openpgp_crt, keyid), ret) {
+ if (ret = gnutls_openpgp_crt_get_auth_subkey(openpgp_crt, keyid, 0), ret) {
err("failed to find a subkey capable of authentication (error: %d)\n", ret);
return ret;
}