diff options
Diffstat (limited to 'common/rfb/SecurityClient.cxx')
-rw-r--r-- | common/rfb/SecurityClient.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/rfb/SecurityClient.cxx b/common/rfb/SecurityClient.cxx index 1350640d..12860662 100644 --- a/common/rfb/SecurityClient.cxx +++ b/common/rfb/SecurityClient.cxx @@ -41,9 +41,9 @@ using namespace rdr; using namespace rfb; -UserPasswdGetter *CSecurity::upg = NULL; +UserPasswdGetter *CSecurity::upg = nullptr; #if defined(HAVE_GNUTLS) || defined(HAVE_NETTLE) -UserMsgBox *CSecurity::msg = NULL; +UserMsgBox *CSecurity::msg = nullptr; #endif StringParameter SecurityClient::secTypes @@ -67,9 +67,9 @@ ConfViewer); CSecurity* SecurityClient::GetCSecurity(CConnection* cc, uint32_t secType) { - assert (CSecurity::upg != NULL); /* (upg == NULL) means bug in the viewer */ + assert (CSecurity::upg != nullptr); /* (upg == nullptr) means bug in the viewer */ #if defined(HAVE_GNUTLS) || defined(HAVE_NETTLE) - assert (CSecurity::msg != NULL); + assert (CSecurity::msg != nullptr); #endif if (!IsSupported(secType)) |