Skip to content

Commit dbb677b

Browse files
committed
add missing print protection
1 parent f287f2b commit dbb677b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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)