projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44c9707
)
Portability fix: use BIO_snprintf and pick up strcasecmp alternative
author
Dr. Stephen Henson
<steve@openssl.org>
Wed, 26 Dec 2012 23:51:41 +0000
(23:51 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Wed, 26 Dec 2012 23:51:41 +0000
(23:51 +0000)
definitions from e_os.h
crypto/x509v3/v3nametest.c
patch
|
blob
|
history
diff --git
a/crypto/x509v3/v3nametest.c
b/crypto/x509v3/v3nametest.c
index aa0d29c3da3040e7c4f786dc0bf3ff463b474d25..77d86795c11e18e94441423bdff779fb698a278c 100644
(file)
--- a/
crypto/x509v3/v3nametest.c
+++ b/
crypto/x509v3/v3nametest.c
@@
-1,5
+1,6
@@
#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))