2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

test against unsigned zero

This commit is contained in:
Mark Andrews
2012-08-14 14:29:47 +10:00
parent aaf3b23666
commit 4e8090f1c1

View 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,