Modernization + AZStd::function compare fix. (#3680)
* Modernization + small fix. Modernize ( `bool`/`override`/other) code in AzCore, AzFramework, AzQtComponents, AzToolsFramework, etc. Replaced a `bind` or two, use `using` in a few places as well. Fix nullptr comparison of AZStd::function. Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com> * Apply review-based changes Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
This commit is contained in:
@@ -473,7 +473,7 @@ namespace AzNetworking
|
||||
{
|
||||
const AZ::CVarFixedString contextPassword = (trustZone == TrustZone::ExternalClientToServer) ? net_SslExternalContextPassword : net_SslInternalContextPassword;
|
||||
|
||||
SSL_CTX_set_default_passwd_cb(context, NULL);
|
||||
SSL_CTX_set_default_passwd_cb(context, nullptr);
|
||||
SSL_CTX_set_default_passwd_cb_userdata(context, (void*)contextPassword.c_str());
|
||||
|
||||
if (SSL_CTX_use_PrivateKey_file(context, privateKeyPath.c_str(), SSL_FILETYPE_PEM) != OpenSslResultSuccess)
|
||||
|
||||
Reference in New Issue
Block a user