|
|
@ -179,7 +179,6 @@ pgp_keydata_free(pgp_key_t *keydata) |
|
|
|
|
|
|
|
static unsigned siginfo_in_time(pgp_sig_info_t *siginfo) |
|
|
|
{ |
|
|
|
printf("%s...\n",__FUNCTION__); |
|
|
|
time_t now; |
|
|
|
now = time(NULL); |
|
|
|
/* in sig validity time frame */ |
|
|
@ -200,7 +199,6 @@ pgp_key_find_uid_cond( |
|
|
|
unsigned checkrevoke, |
|
|
|
unsigned checkexpiry) |
|
|
|
{ |
|
|
|
printf("%s...\n",__FUNCTION__); |
|
|
|
unsigned uididx = 0; |
|
|
|
unsigned uidsigidx = 0; |
|
|
|
int32_t res = -1; /* Not found */ |
|
|
@ -276,7 +274,6 @@ pgp_key_find_key_conds( |
|
|
|
unsigned checkrevoke, |
|
|
|
unsigned checkexpiry) |
|
|
|
{ |
|
|
|
printf("%s...\n",__FUNCTION__); |
|
|
|
unsigned subkeyidx = 0; |
|
|
|
unsigned subkeysigidx = 0; |
|
|
|
unsigned directsigidx = 0; |
|
|
@ -466,7 +463,6 @@ key_get_seckey_from_subidx( |
|
|
|
|
|
|
|
static unsigned is_signing_role(const pgp_sig_info_t *siginfo, void *arg) |
|
|
|
{ |
|
|
|
printf("%s...\n",__FUNCTION__); |
|
|
|
return siginfo->key_flags & PGP_KEYFLAG_SIGN_DATA; |
|
|
|
} |
|
|
|
|
|
|
@ -490,7 +486,6 @@ pgp_key_get_certkey(pgp_key_t *key) |
|
|
|
|
|
|
|
static unsigned is_encryption_role(const pgp_sig_info_t *siginfo, void *arg) |
|
|
|
{ |
|
|
|
printf("%s...\n",__FUNCTION__); |
|
|
|
return siginfo->key_flags & PGP_KEYFLAG_ENC_COMM; |
|
|
|
} |
|
|
|
|
|
|
@ -514,7 +509,6 @@ pgp_key_get_deckey(pgp_key_t *key, const uint8_t **id) |
|
|
|
|
|
|
|
static unsigned primary_uid_sigcond(const pgp_sig_info_t *siginfo, void *arg) |
|
|
|
{ |
|
|
|
printf("%s...\n",__FUNCTION__); |
|
|
|
return siginfo->primary_userid; |
|
|
|
} |
|
|
|
|
|
|
@ -1353,7 +1347,6 @@ unsigned pgp_add_directsig( |
|
|
|
const pgp_subpacket_t *sigpkt, |
|
|
|
pgp_sig_info_t *siginfo) |
|
|
|
{ |
|
|
|
printf("%s...\n",__FUNCTION__); |
|
|
|
pgp_directsig_t *directsigp; |
|
|
|
unsigned directsigidx; |
|
|
|
|
|
|
@ -1440,7 +1433,6 @@ unsigned pgp_update_subkey( |
|
|
|
const pgp_subpacket_t *sigpkt, |
|
|
|
pgp_sig_info_t *siginfo) |
|
|
|
{ |
|
|
|
printf("%s...\n",__FUNCTION__); |
|
|
|
unsigned subkeyidx = 0; |
|
|
|
unsigned subkeysigidx = 0; |
|
|
|
pgp_subkey_t *subkeyp; |
|
|
|