mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
added some trust model stuff
This commit is contained in:
parent
1ce26aa6d6
commit
4ec1775f3e
49 changed files with 1580 additions and 331 deletions
|
@ -265,7 +265,7 @@ encrypt_filter( void *opaque, int control,
|
|||
int rc=0;
|
||||
|
||||
if( control == IOBUFCTRL_UNDERFLOW ) { /* decrypt */
|
||||
log_bug(NULL); /* not used */
|
||||
BUG(); /* not used */
|
||||
}
|
||||
else if( control == IOBUFCTRL_FLUSH ) { /* encrypt */
|
||||
if( !efx->header_okay ) {
|
||||
|
@ -317,7 +317,7 @@ write_pubkey_enc_from_list( PKC_LIST pkc_list, DEK *dek, IOBUF out )
|
|||
else if( enc->pubkey_algo == PUBKEY_ALGO_RSA )
|
||||
g10_rsa_encrypt( pkc, enc, dek );
|
||||
else
|
||||
log_bug(NULL);
|
||||
BUG();
|
||||
/* and write it */
|
||||
init_packet(&pkt);
|
||||
pkt.pkttype = PKT_PUBKEY_ENC;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue