Mercurial > hg > nginx
comparison src/event/ngx_event_openssl_stapling.c @ 7655:bd4d1b9db0ee
Fixed format specifiers.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Sat, 23 May 2020 15:53:08 +0300 |
parents | b56f725dd4bb |
children | 1ece2ac2555a |
comparison
equal
deleted
inserted
replaced
7654:b56f725dd4bb | 7655:bd4d1b9db0ee |
---|---|
946 | 946 |
947 X509_STORE_CTX_free(store_ctx); | 947 X509_STORE_CTX_free(store_ctx); |
948 } | 948 } |
949 | 949 |
950 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, c->log, 0, | 950 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, c->log, 0, |
951 "ssl ocsp validate, certs:%i", sk_X509_num(ocsp->certs)); | 951 "ssl ocsp validate, certs:%d", sk_X509_num(ocsp->certs)); |
952 | 952 |
953 ngx_ssl_ocsp_validate_next(c); | 953 ngx_ssl_ocsp_validate_next(c); |
954 | 954 |
955 if (ocsp->status == NGX_AGAIN) { | 955 if (ocsp->status == NGX_AGAIN) { |
956 c->ssl->in_ocsp = 1; | 956 c->ssl->in_ocsp = 1; |
2659 u_char buf[120]; | 2659 u_char buf[120]; |
2660 | 2660 |
2661 ngx_hex_dump(buf, ctx->key.data, ctx->key.len); | 2661 ngx_hex_dump(buf, ctx->key.data, ctx->key.len); |
2662 | 2662 |
2663 ngx_log_debug2(NGX_LOG_DEBUG_EVENT, ctx->log, 0, | 2663 ngx_log_debug2(NGX_LOG_DEBUG_EVENT, ctx->log, 0, |
2664 "ssl ocsp key %*s", 120, buf); | 2664 "ssl ocsp key %*s", sizeof(buf), buf); |
2665 } | 2665 } |
2666 #endif | 2666 #endif |
2667 | 2667 |
2668 return NGX_OK; | 2668 return NGX_OK; |
2669 } | 2669 } |