diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-18 13:16:57 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-18 13:16:57 +0000 |
commit | fcd3943073cac4ff41ebde1ec5c4f85df036b7a3 (patch) | |
tree | dfbb237cd579ac7a27726bb8ef681d6149d531a2 /remoting/client | |
parent | 33db3199a47b133f3e9c3d605fbc56fb2a43e340 (diff) | |
download | chromium_src-fcd3943073cac4ff41ebde1ec5c4f85df036b7a3.zip chromium_src-fcd3943073cac4ff41ebde1ec5c4f85df036b7a3.tar.gz chromium_src-fcd3943073cac4ff41ebde1ec5c4f85df036b7a3.tar.bz2 |
mac: Enable -Wunused-const-variable.
BUG=307668
TBR=hans@chromium.org
Review URL: https://codereview.chromium.org/28163003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229395 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/client')
-rw-r--r-- | remoting/client/plugin/chromoting_instance.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/remoting/client/plugin/chromoting_instance.cc b/remoting/client/plugin/chromoting_instance.cc index 6e7dfa4..a1449d5 100644 --- a/remoting/client/plugin/chromoting_instance.cc +++ b/remoting/client/plugin/chromoting_instance.cc @@ -77,11 +77,13 @@ const char kChromeExtensionUrlScheme[] = "chrome-extension"; const int kMaxCursorWidth = 32; const int kMaxCursorHeight = 32; +#if defined(USE_OPENSSL) // Size of the random seed blob used to initialize RNG in libjingle. Libjingle // uses the seed only for OpenSSL builds. OpenSSL needs at least 32 bytes of // entropy (see http://wiki.openssl.org/index.php/Random_Numbers), but stores // 1039 bytes of state, so we initialize it with 1k or random data. const int kRandomSeedSize = 1024; +#endif // defined(USE_OPENSSL) std::string ConnectionStateToString(protocol::ConnectionToHost::State state) { // Values returned by this function must match the |