No strncasecmp() on Windows

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2429 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
sth 2005-07-18 11:51:34 +00:00
parent ada4504daf
commit 205d23f4c3
1 changed files with 4 additions and 0 deletions

View File

@ -58,6 +58,10 @@
#include <string.h>
#include "libp11-int.h"
#ifndef strncasecmp
#define strncasecmp strnicmp
#endif
static int pkcs11_find_keys(PKCS11_TOKEN *, unsigned int);
static int pkcs11_next_key(PKCS11_CTX * ctx, PKCS11_TOKEN * token,
CK_SESSION_HANDLE session, CK_OBJECT_CLASS type);