X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fx509v3%2Fv3nametest.c;h=77d86795c11e18e94441423bdff779fb698a278c;hp=aa0d29c3da3040e7c4f786dc0bf3ff463b474d25;hb=bdcf772aa55413b0f9637bc68b78f47a842415c9;hpb=89a5e2f704ae8754de91f095be7c04d373fbf30e diff --git a/crypto/x509v3/v3nametest.c b/crypto/x509v3/v3nametest.c index aa0d29c3da..77d86795c1 100644 --- a/crypto/x509v3/v3nametest.c +++ b/crypto/x509v3/v3nametest.c @@ -1,5 +1,6 @@ #include #include +#include "../e_os.h" #include static const char *const names[] = @@ -251,7 +252,7 @@ static void check_message(const struct set_name_fn *fn, const char *op, char msg[1024]; if (match < 0) return; - snprintf(msg, sizeof(msg), "%s: %s: [%s] %s [%s]", + BIO_snprintf(msg, sizeof(msg), "%s: %s: [%s] %s [%s]", fn->name, op, nameincert, match ? "matches" : "does not match", name); if (is_exception(msg))