X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=src%2Fkeytrans%2Fopenpgp2ssh.c;h=511af719d7b69dfb936214ef61ba4453705f6a22;hb=9715df03ccc1620db97d3fea50e5031f6ed36fde;hp=ce4d13d65326026a6f0ed206a4d1622389bbe08a;hpb=b13286dc0e549347f86b64049d4eb2bd2891e1ab;p=monkeysphere.git 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; }