diff options
author | Werner Koch <[email protected]> | 1997-12-16 19:15:09 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 1997-12-16 19:15:09 +0000 |
commit | 15426c6d969f49ccb7be738ace2647dca686a5b5 (patch) | |
tree | 69afa01597e394eb7109f6d2d5a82f291e798c98 /g10/mainproc.c | |
parent | added option file handling (diff) | |
download | gnupg-15426c6d969f49ccb7be738ace2647dca686a5b5.tar.gz gnupg-15426c6d969f49ccb7be738ace2647dca686a5b5.zip |
added some stuff for signing keys
Diffstat (limited to 'g10/mainproc.c')
-rw-r--r-- | g10/mainproc.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/g10/mainproc.c b/g10/mainproc.c index a8b621289..8bee0de09 100644 --- a/g10/mainproc.c +++ b/g10/mainproc.c @@ -56,19 +56,6 @@ typedef struct { static void list_node( CTX c, KBNODE node ); static void proc_tree( CTX c, KBNODE node ); -static int -pubkey_letter( int algo ) -{ - switch( algo ) { - case PUBKEY_ALGO_RSA: return 'R' ; - case PUBKEY_ALGO_RSA_E: return 'r' ; - case PUBKEY_ALGO_RSA_S: return 's' ; - case PUBKEY_ALGO_ELGAMAL: return 'G' ; - case PUBKEY_ALGO_DSA: return 'D' ; - default: return '?'; - } -} - static void release_cert( CTX c ) @@ -509,7 +496,6 @@ proc_packets( IOBUF a ) CTX c = m_alloc_clear( sizeof *c ); PACKET *pkt = m_alloc( sizeof *pkt ); int rc, result; - char *ustr; int lvl0, lvl1; u32 keyid[2]; int newpkt; |