|
@@ -10,6 +10,7 @@
|
|
|
#include "internal/cryptlib.h"
|
|
|
#include <openssl/asn1.h>
|
|
|
#include <openssl/x509v3.h>
|
|
|
+#include "e_os.h" /* strncasecmp() */
|
|
|
|
|
|
#define ASN1_GEN_FLAG 0x10000
|
|
|
#define ASN1_GEN_FLAG_IMP (ASN1_GEN_FLAG|1)
|
|
@@ -564,7 +565,7 @@ static int asn1_str2tag(const char *tagstr, int len)
|
|
|
|
|
|
tntmp = tnst;
|
|
|
for (i = 0; i < OSSL_NELEM(tnst); i++, tntmp++) {
|
|
|
- if ((len == tntmp->len) && (strncmp(tntmp->strnam, tagstr, len) == 0))
|
|
|
+ if ((len == tntmp->len) && (strncasecmp(tntmp->strnam, tagstr, len) == 0))
|
|
|
return tntmp->tag;
|
|
|
}
|
|
|
|