Another case of snprintf() being used.
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14600)
#include <openssl/http.h>
#include <openssl/httperr.h>
+#include <openssl/bio.h> /* for BIO_snprintf() */
#include <openssl/err.h>
#include <string.h>
#include "internal/cryptlib.h" /* for ossl_assert() */
if ((*ppath = OPENSSL_malloc(buflen)) == NULL)
goto err;
- snprintf(*ppath, buflen, "/%s", path);
+ BIO_snprintf(*ppath, buflen, "/%s", path);
}
return 1;