projects
/
monkeysphere.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1ac46b
)
updated gpg2ssh to use new flag for gnutls_openpgp_crt_get_auth_subkey() (introduced...
author
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Mon, 21 Apr 2008 07:11:02 +0000
(
03:11
-0400)
committer
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Mon, 21 Apr 2008 07:11:02 +0000
(
03:11
-0400)
gpg2ssh.c
patch
|
blob
|
history
diff --git
a/gpg2ssh.c
b/gpg2ssh.c
index 615554990161f4bff2aefeac390a693ec7011d2f..a1e94df7998a55a56c88a97e9342abfe14153def 100644
(file)
--- 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;
}