Home GnuPG
Diffusion GnuPG 2e22184ba5ac

gpg: Avoid to emit a compliance mode line if libgcrypt is non-compliant.

Description

gpg: Avoid to emit a compliance mode line if libgcrypt is non-compliant.

* g10/encrypt.c (check_encryption_compliance): Check gcrypt compliance
before emitting an ENCRYPTION_COMPLIANCE_MODE status.

Ported-from: 07c6743148d4abd30fb8bf08b07eb9755fdfff2d