提交 bdcf772a 编写于 作者: D Dr. Stephen Henson

Portability fix: use BIO_snprintf and pick up strcasecmp alternative

definitions from e_os.h
上级 89a5e2f7
#include <openssl/x509.h>
#include <openssl/x509v3.h>
#include "../e_os.h"
#include <string.h>
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))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册