[Pkg-gnupg-commit] [gnupg2] 152/241: dirmngr: Improve error handling.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Dec 9 20:32:10 UTC 2015


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch master
in repository gnupg2.

commit 6b14df5525777ee0330a34a7b335359f562616a4
Author: Justus Winter <justus at g10code.com>
Date:   Thu Nov 19 17:37:32 2015 +0100

    dirmngr: Improve error handling.
    
    * dirmngr/crlcache.c (crl_cache_cert_isvalid): Add missing break.
    --
    Found using the Clang Static Analyzer.
    
    Signed-off-by: Justus Winter <justus at g10code.com>
---
 dirmngr/crlcache.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dirmngr/crlcache.c b/dirmngr/crlcache.c
index 6d3f8ce..13d8a26 100644
--- a/dirmngr/crlcache.c
+++ b/dirmngr/crlcache.c
@@ -1512,6 +1512,7 @@ crl_cache_cert_isvalid (ctrl_t ctrl, ksba_cert_t cert,
       break;
     case CRL_CACHE_DONTKNOW:
       err = gpg_error (GPG_ERR_NO_CRL_KNOWN);
+      break;
     case CRL_CACHE_CANTUSE:
       err = gpg_error (GPG_ERR_NO_CRL_KNOWN);
       break;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list