diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-03-30 15:27:57 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-03-30 15:27:57 +0300 |
commit | 70635d3cbd95a2ee64aafa3f2236a33dec90a50a (patch) | |
tree | c71e68c48a2c5276e002cb4e63b65db72fa61df8 | |
parent | 1e866bec7499330d54d3a79dc0ac8e63dd920763 (diff) |
Fix certificate info parsing for openssl 1.1.0e
-rw-r--r-- | bpkg/auth.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/auth.cxx b/bpkg/auth.cxx index da5b293..bafc321 100644 --- a/bpkg/auth.cxx +++ b/bpkg/auth.cxx @@ -292,7 +292,7 @@ namespace bpkg }; string s; - if (!get (s) || s != "subject= ") + if (!get (s) || s.compare (0, 8, "subject=") != 0) bad_cert ("no subject"); // Parse RDN (relative distinguished name). |