diff options
author | Werner Koch <[email protected]> | 2018-04-18 12:41:50 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2018-04-18 12:41:50 +0000 |
commit | 23177e4410d05d590c0f2e1675dc645bbb4ad62c (patch) | |
tree | 8621b1515ab114bb3a463b8d2e0f8d928702f761 /src/verify.c | |
parent | json: Improve help meta command in gpgme-json. (diff) | |
download | gpgme-23177e4410d05d590c0f2e1675dc645bbb4ad62c.tar.gz gpgme-23177e4410d05d590c0f2e1675dc645bbb4ad62c.zip |
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 <[email protected]>
Diffstat (limited to 'src/verify.c')
-rw-r--r-- | src/verify.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |