diff --git a/src/keyring.c b/src/keyring.c index c06a4ee..b2474fb 100644 --- a/src/keyring.c +++ b/src/keyring.c @@ -984,7 +984,6 @@ deletekey( pgp_keyring_t *keyring, pgp_key_t *key, unsigned from) unsigned key_id_match(const pgp_pubkey_t *key, const uint8_t *keyid, void *refidarg) { - printf("%s:%d\n",__FILE__,__LINE__); uint8_t *refid = refidarg; return (memcmp(keyid, refid, PGP_KEY_ID_SIZE) == 0); } @@ -1010,7 +1009,6 @@ pgp_getkeybyid(pgp_io_t *io, const pgp_keyring_t *keyring, unsigned checkrevoke, unsigned checkexpiry) { - printf("%s:%d\n",__FILE__,__LINE__); uint8_t nullid[PGP_KEY_ID_SIZE]; (void) memset(nullid, 0x0, sizeof(nullid)); @@ -1160,7 +1158,6 @@ getkeybyname(pgp_io_t *io, const char *name, unsigned *from) { - printf("%s:%d\n",__FILE__,__LINE__); //const pgp_key_t *kp; uint8_t **uidp; unsigned i = 0; @@ -1305,7 +1302,6 @@ pgp_key_t *pgp_ensure_pubkey(pgp_keyring_t *keyring, pgp_pubkey_t *pubkey, uint8 /* try to find key in keyring */ for (c = 0; c < keyring->keyc; c += 1) { if (memcmp(keyring->keys[c].pubkeyid, pubkeyid, PGP_KEY_ID_SIZE) == 0) { - printf("%s:%d\n",__FILE__,__LINE__); return &keyring->keys[c]; } } @@ -1326,8 +1322,6 @@ pgp_key_t *pgp_ensure_pubkey(pgp_keyring_t *keyring, pgp_pubkey_t *pubkey, uint8 pgp_key_t *pgp_ensure_seckey(pgp_keyring_t *keyring, pgp_seckey_t *seckey, uint8_t *pubkeyid) { - printf("%s:%d\n",__FILE__,__LINE__); - pgp_key_t *key; unsigned c; @@ -1336,7 +1330,6 @@ pgp_key_t *pgp_ensure_seckey(pgp_keyring_t *keyring, pgp_seckey_t *seckey, uint8 /* try to find key in keyring */ for (c = 0; c < keyring->keyc; c += 1) { if (memcmp(keyring->keys[c].pubkeyid, pubkeyid, PGP_KEY_ID_SIZE) == 0) { - printf("%s:%d\n",__FILE__,__LINE__); return &keyring->keys[c]; } }