aboutsummaryrefslogtreecommitdiffstats
path: root/g10/encode.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-01-16 21:15:24 +0000
committerWerner Koch <[email protected]>1998-01-16 21:15:24 +0000
commit4ec1775f3eaf8733a5285460b631253b90d3c6fb (patch)
tree3061decd5793f93c5a51dab58cb45c8e79a26403 /g10/encode.c
parent*** empty log message *** (diff)
downloadgnupg-4ec1775f3eaf8733a5285460b631253b90d3c6fb.tar.gz
gnupg-4ec1775f3eaf8733a5285460b631253b90d3c6fb.zip
added some trust model stuff
Diffstat (limited to 'g10/encode.c')
-rw-r--r--g10/encode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/encode.c b/g10/encode.c
index ff125079e..04aebefdb 100644
--- a/g10/encode.c
+++ b/g10/encode.c
@@ -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;