diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2008-04-21 03:11:02 -0400 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2008-04-21 03:11:02 -0400 |
commit | c83951904066fedc425b82ea4dbf6cab64db7cd6 (patch) | |
tree | 21f6da398b3b798abd9b88603214f4105838f96f | |
parent | d1ac46b53ec182fec1397ccd651a699551a99970 (diff) |
updated gpg2ssh to use new flag for gnutls_openpgp_crt_get_auth_subkey() (introduced in gnutls 2.3.6).
-rw-r--r-- | gpg2ssh.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |