diff options
author | Oz Linden <oz@lindenlab.com> | 2017-04-14 17:27:03 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2017-04-14 17:27:03 -0400 |
commit | e07a60f6cc80d052377996b8c3ef9a9a20e20584 (patch) | |
tree | 4f782edbd5317196584325e2402979b362040123 /indra | |
parent | fd3628ef45a8160f2434e0d8b747d31d65685340 (diff) |
remove obsolete type cast that upsets VS sensibilities
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/tests/llsechandler_basic_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/tests/llsechandler_basic_test.cpp b/indra/newview/tests/llsechandler_basic_test.cpp index 5c9650301d..3d01c5378f 100644 --- a/indra/newview/tests/llsechandler_basic_test.cpp +++ b/indra/newview/tests/llsechandler_basic_test.cpp @@ -710,7 +710,7 @@ namespace tut expectedKeyUsage.append(LLSD((std::string)"digitalSignature")); expectedKeyUsage.append(LLSD((std::string)"keyEncipherment")); ensure("key usage", valueCompareLLSD(llsd_cert["keyUsage"], expectedKeyUsage)); - ensure_equals("basic constraints", (bool)llsd_cert["basicConstraints"]["CA"].asInteger(), 0); + ensure_equals("basic constraints", llsd_cert["basicConstraints"]["CA"].asInteger(), 0); ensure("x509 is equal", !X509_cmp(mX509ChildCert, test_cert->getOpenSSLX509())); } |