diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2020-05-23 15:53:08 +0300 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2020-05-23 15:53:08 +0300 |
commit | 9b87626b0bdd0e6c87d76f1a50302ca9e3df2fc1 (patch) | |
tree | 815b0859bd8941b87199fac8bfaf0e87d8daea82 /src | |
parent | 5727f9a1e0cca082eb1f3e599e0453a7a9cfe319 (diff) | |
download | nginx-9b87626b0bdd0e6c87d76f1a50302ca9e3df2fc1.tar.gz nginx-9b87626b0bdd0e6c87d76f1a50302ca9e3df2fc1.zip |
Fixed format specifiers.
Diffstat (limited to 'src')
-rw-r--r-- | src/event/ngx_event_openssl_stapling.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/event/ngx_event_openssl_stapling.c b/src/event/ngx_event_openssl_stapling.c index 57debd49c..a0a63c165 100644 --- a/src/event/ngx_event_openssl_stapling.c +++ b/src/event/ngx_event_openssl_stapling.c @@ -948,7 +948,7 @@ ngx_ssl_ocsp_validate(ngx_connection_t *c) } ngx_log_debug1(NGX_LOG_DEBUG_EVENT, c->log, 0, - "ssl ocsp validate, certs:%i", sk_X509_num(ocsp->certs)); + "ssl ocsp validate, certs:%d", sk_X509_num(ocsp->certs)); ngx_ssl_ocsp_validate_next(c); @@ -2661,7 +2661,7 @@ ngx_ssl_ocsp_create_key(ngx_ssl_ocsp_ctx_t *ctx) ngx_hex_dump(buf, ctx->key.data, ctx->key.len); ngx_log_debug2(NGX_LOG_DEBUG_EVENT, ctx->log, 0, - "ssl ocsp key %*s", 120, buf); + "ssl ocsp key %*s", sizeof(buf), buf); } #endif |