diff options
author | Pauli <paul.dale@oracle.com> | 2020-06-15 08:13:43 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-06-17 15:59:58 +1000 |
commit | 24b6261e5bb286fa494e7208a3de28365e0ca004 (patch) | |
tree | fd5bc7cb43ebfa76ffb8d9e3f84a0bdee1b7a3dd /apps/lib | |
parent | ae93e8c21ec089aa23d30df1787308ae9c2fd18d (diff) |
coverity 1464213: API usage errors (PRINTF_ARGS)
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/12149)
Diffstat (limited to 'apps/lib')
-rw-r--r-- | apps/lib/http_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/lib/http_server.c b/apps/lib/http_server.c index 11f0b1fcb5..5c009b9990 100644 --- a/apps/lib/http_server.c +++ b/apps/lib/http_server.c @@ -397,7 +397,7 @@ int http_server_get_asn1_req(const ASN1_ITEM *it, ASN1_VALUE **preq, log_message(prog, LOG_ERR, "Error parsing request"); } else if (ppath != NULL && (*ppath = OPENSSL_strdup(url)) == NULL) { log_message(prog, LOG_ERR, - "Out of memory allocating %d bytes", strlen(url) + 1); + "Out of memory allocating %zu bytes", strlen(url) + 1); ASN1_item_free(req, it); goto fatal; } |