removed some debug code

master
Edouard Tisserant 8 years ago
parent 39200f9be7
commit 84dfa75cd3

@ -553,17 +553,14 @@ unsigned key_is_weak(
if(kbl == 0)
{
*res = PGP_INVALID;
return 1;
}
else if(kbl < 1024)
{
*res = PGP_TOOSHORT;
return 1;
}
else if(kbl == 1024 && key->alg == PGP_PKA_RSA)
{
*res = PGP_WEAK;
return 1;
}
return 0;

@ -219,4 +219,6 @@ pgp_key_find_uid_cond(
unsigned checkrevoke,
unsigned checkexpiry);
const pgp_key_rating_t pgp_key_get_rating(const pgp_key_t *key);
#endif /* KEYRING_H_ */

@ -410,9 +410,6 @@ pgp_validate_key_cb(const pgp_packet_t *pkt, pgp_cbdata_t *cbinfo)
case PGP_CERT_POSITIVE:
case PGP_SIG_REV_CERT:
if(vdata->last_seen == LS_ID){
if(strcmp((const char*)vdata->userid,"Volker Birk (Testkey - don't use) <volker.birk@digitalekho.com>") == 0){
printf("XXXXXXXXXXXXXX %d %s\n", valid, vdata->userid);
}
valid = pgp_check_useridcert_sig(
primary_pubkey,
vdata->userid,

Loading…
Cancel
Save