From: Daniel Kahn Gillmor Date: Mon, 21 Apr 2008 07:11:02 +0000 (-0400) Subject: updated gpg2ssh to use new flag for gnutls_openpgp_crt_get_auth_subkey() (introduced... X-Git-Tag: monkeysphere_0.1-1~77 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=c83951904066fedc425b82ea4dbf6cab64db7cd6;hp=-c;p=monkeysphere.git updated gpg2ssh to use new flag for gnutls_openpgp_crt_get_auth_subkey() (introduced in gnutls 2.3.6). --- c83951904066fedc425b82ea4dbf6cab64db7cd6 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; }