]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
test against unsigned zero
authorMark Andrews <marka@isc.org>
Tue, 14 Aug 2012 04:29:47 +0000 (14:29 +1000)
committerMark Andrews <marka@isc.org>
Tue, 14 Aug 2012 04:30:38 +0000 (14:30 +1000)
lib/dns/openssl_link.c

index 6cc903549a3d4e10e63b7808b0aa9f9da661c26e..d186761c2caad64abf8e46e36062c1a5909375a0 100644 (file)
@@ -322,7 +322,7 @@ dst__openssl_toresult2(const char *funcname, isc_result_t fallback) {
                      "%s failed", funcname);
        for (;;) {
                err = ERR_get_error_line_data(&file, &line, &data, &flags);
-               if (err == 0)
+               if (err == 0U)
                        goto done;
                ERR_error_string_n(err, buf, sizeof(buf));
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_GENERAL,