]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
gnutls-cli: corrected check for OCSP verification success
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 17 May 2016 08:35:39 +0000 (10:35 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 17 May 2016 09:17:25 +0000 (11:17 +0200)
src/cli.c

index 8d74afed01f3b6204c13ae61dde6c190982b566f..85fe706846258853df6b97af27bb8a8950ce18da 100644 (file)
--- a/src/cli.c
+++ b/src/cli.c
@@ -1950,5 +1950,5 @@ cleanup:
 
        if (failed > 0)
                return -1;
-       return ok > 1 ? (int) ok : -1;
+       return ok >= 1 ? (int) ok : -1;
 }