diff options
Diffstat (limited to 'g10/build-packet.c')
-rw-r--r-- | g10/build-packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/build-packet.c b/g10/build-packet.c index b8acc577e..ae5e08f15 100644 --- a/g10/build-packet.c +++ b/g10/build-packet.c @@ -281,7 +281,7 @@ do_secret_key( IOBUF out, int ctb, PKT_secret_key *sk ) iobuf_put(a, sk->pubkey_algo ); nskey = pubkey_get_nskey( sk->pubkey_algo ); npkey = pubkey_get_npkey( sk->pubkey_algo ); - if( npkey ) { + if( !npkey ) { write_fake_data( a, sk->skey[0] ); goto leave; } |