From 8bae17304c9d58aa6af611f02eb0a02fccdb00e0 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 1 Oct 2019 17:53:28 +0300 Subject: Adapt to renaming butl::casecmp() to icasecmp() --- openssl/agent/pkcs11/url.cxx | 2 +- openssl/utility.hxx | 4 ++-- 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 // move(), forward(), declval(), make_pair() #include // assert() -#include // casecmp(), reverse_iterate(), etc +#include // icasecmp(), reverse_iterate(), etc #include #include @@ -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; -- cgit v1.1