aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-10-01 17:53:28 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-10-01 17:53:28 +0300
commit8bae17304c9d58aa6af611f02eb0a02fccdb00e0 (patch)
treef02a1e2617b20f3d5914115ef0037a9f703e983c
parent84c5c58b420ada15505b3e35b0bd1718567c6da7 (diff)
Adapt to renaming butl::casecmp() to icasecmp()
-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;