summaryrefslogtreecommitdiff
path: root/lib/x509/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/x509/common.c')
-rw-r--r--lib/x509/common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/x509/common.c b/lib/x509/common.c
index 4a3e8376f7..b0ee8b80cc 100644
--- a/lib/x509/common.c
+++ b/lib/x509/common.c
@@ -30,6 +30,7 @@
#include <x509.h>
#include <num.h>
#include <x509_b64.h>
+#include <c-strcase.h>
#include "x509_int.h"
#include "extras/hex.h"
#include <common.h>
@@ -164,7 +165,7 @@ const char *_gnutls_ldap_string_to_oid(const char *str, unsigned str_len)
do {
if ((_oid2str[i].ldap_desc != NULL) &&
(str_len == _oid2str[i].ldap_desc_size) &&
- (strncasecmp(_oid2str[i].ldap_desc, str, str_len) ==
+ (c_strncasecmp(_oid2str[i].ldap_desc, str, str_len) ==
0))
return _oid2str[i].oid;
i++;