projects
/
monkeysphere.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b13286d
)
openpgp2ssh whitespace and comment cleanup.
author
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Mon, 16 Jun 2008 05:05:12 +0000
(
01:05
-0400)
committer
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Mon, 16 Jun 2008 05:05:12 +0000
(
01:05
-0400)
src/keytrans/openpgp2ssh.c
patch
|
blob
|
history
diff --git
a/src/keytrans/openpgp2ssh.c
b/src/keytrans/openpgp2ssh.c
index ce4d13d65326026a6f0ed206a4d1622389bbe08a..511af719d7b69dfb936214ef61ba4453705f6a22 100644
(file)
--- a/
src/keytrans/openpgp2ssh.c
+++ b/
src/keytrans/openpgp2ssh.c
@@
-45,9
+45,6
@@
int convert_private_pgp_to_x509(gnutls_x509_privkey_t* output, const gnutls_open
int subkeycount;
int found = 0;
-/* FIXME: actually respect keyid argument. At the moment, we just
- emit the primary key. */
-
init_datum(&m);
init_datum(&e);
init_datum(&d);
@@
-58,7
+55,6
@@
int convert_private_pgp_to_x509(gnutls_x509_privkey_t* output, const gnutls_open
init_datum(&y);
init_datum(&x);
-
subkeycount = gnutls_openpgp_privkey_get_subkey_count(*pgp_privkey);
if (subkeycount < 0) {
err(0,"Could not determine subkey count (got value %d)\n", subkeycount);
@@
-436,9
+432,6
@@
int main(int argc, char* argv[]) {
}
}
-
-
-
gnutls_global_deinit();
return 0;
}