diff --git a/g10/keygen.c b/g10/keygen.c index d40687817..3222c55f0 100644 --- a/g10/keygen.c +++ b/g10/keygen.c @@ -219,9 +219,6 @@ do_add_key_flags (PKT_signature *sig, unsigned int use) if (use & PUBKEY_USAGE_AUTH) buf[0] |= 0x20; - if (!buf[0]) - return; - build_sig_subpkt (sig, SIGSUBPKT_KEY_FLAGS, buf, 1); }