From: Daniel Kahn Gillmor Date: Mon, 16 Jun 2008 05:05:12 +0000 (-0400) Subject: openpgp2ssh whitespace and comment cleanup. X-Git-Tag: monkeysphere_0.1-1~22 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=785736d891f6c61eb5d7f4f10687ef9a0d920c3b;hp=b13286dc0e549347f86b64049d4eb2bd2891e1ab;p=monkeysphere.git openpgp2ssh whitespace and comment cleanup. --- diff --git a/src/keytrans/openpgp2ssh.c b/src/keytrans/openpgp2ssh.c index ce4d13d..511af71 100644 --- 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; }