From 23177e4410d05d590c0f2e1675dc645bbb4ad62c Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 18 Apr 2018 14:41:50 +0200 Subject: [PATCH] core: Fix possible compliance mode detection error. * src/verify.c (_gpgme_verify_status_handler): Insert missing break. -- Before the insertion of the compliance status checking the break in the default clause was used by the STATUS_PLAINTEXT code. That got lost. I don't see any actual harm due to different values currently in use for the compliance status. Fixes-commit: 05fa2a9c7764b28fdac35eb72631439df948ca0e Signed-off-by: Werner Koch --- src/verify.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/verify.c b/src/verify.c index 4eab902b..c3afdef2 100644 --- a/src/verify.c +++ b/src/verify.c @@ -1094,6 +1094,7 @@ _gpgme_verify_status_handler (void *priv, gpgme_status_code_t code, char *args) err = _gpgme_parse_plaintext (args, &opd->result.file_name); if (err) return err; + break; case GPGME_STATUS_VERIFICATION_COMPLIANCE_MODE: PARSE_COMPLIANCE_FLAGS (args, opd->current_sig);