Skip to content

Commit 75c6832

Browse files
authored
Merge pull request #186 from bigbrett/printf-protection-quickfix
quickfix: missing debug macro protection
2 parents 5debb7e + 682c610 commit 75c6832

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/wh_server_cert.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,9 @@ int wh_Server_CertVerify(whServerContext* server, const uint8_t* cert,
300300
}
301301
}
302302
else {
303+
#ifdef DEBUG_CRYPTOCB_VERBOSE
303304
printf("Failed to load trusted root certificate: %d\n", rc);
305+
#endif
304306
}
305307
}
306308

0 commit comments

Comments
 (0)