aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openssl/agent/pkcs11/url.cxx2
-rw-r--r--openssl/utility.hxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/openssl/agent/pkcs11/url.cxx b/openssl/agent/pkcs11/url.cxx
index 1e0d503..d02b6ba 100644
--- a/openssl/agent/pkcs11/url.cxx
+++ b/openssl/agent/pkcs11/url.cxx
@@ -54,7 +54,7 @@ namespace openssl
if (scheme.empty ())
return nullopt;
- if (casecmp (scheme, "pkcs11") != 0)
+ if (icasecmp (scheme, "pkcs11") != 0)
throw invalid_argument ("invalid scheme");
if (authority)
diff --git a/openssl/utility.hxx b/openssl/utility.hxx
index e1a4350..40e588f 100644
--- a/openssl/utility.hxx
+++ b/openssl/utility.hxx
@@ -9,7 +9,7 @@
#include <utility> // move(), forward(), declval(), make_pair()
#include <cassert> // assert()
-#include <libbutl/utility.mxx> // casecmp(), reverse_iterate(), etc
+#include <libbutl/utility.mxx> // icasecmp(), reverse_iterate(), etc
#include <libbutl/fdstream.mxx>
#include <libbutl/filesystem.mxx>
@@ -29,7 +29,7 @@ namespace openssl
//
using butl::ucase;
using butl::lcase;
- using butl::casecmp;
+ using butl::icasecmp;
using butl::trim;
using butl::next_word;