mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-02 18:22:04 +00:00
BUILD: ssl/ocsp: error: ‘%.*s’ directive argument is null
Some gcc version will emit an error because a '%.*s' argument have a NULL parameter. Initialize the string to "" instead.
This commit is contained in:
parent
93f2c73423
commit
6e11d34940
@ -1098,7 +1098,7 @@ void ocsp_update_response_end_cb(struct httpclient *hc)
|
||||
static void ssl_ocsp_send_log()
|
||||
{
|
||||
int status_str_len = 0;
|
||||
char *status_str = NULL;
|
||||
char *status_str = "";
|
||||
struct certificate_ocsp *ocsp = ssl_ocsp_task_ctx.cur_ocsp;
|
||||
char *last_error = NULL;
|
||||
struct buffer *tmpbuf = get_trash_chunk();
|
||||
|
Loading…
Reference in New Issue
Block a user