diff options
author | byungchul@chromium.org <byungchul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-17 16:02:08 +0000 |
---|---|---|
committer | byungchul@chromium.org <byungchul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-17 16:02:08 +0000 |
commit | c8a80e99796678a7dca2c23111e03a593b9a7655 (patch) | |
tree | b57b15486e0796196d502b42184c92a1defd212e /crypto | |
parent | 7ef5378569d945939649e1c4aede54eb39aaacda (diff) | |
download | chromium_src-c8a80e99796678a7dca2c23111e03a593b9a7655.zip chromium_src-c8a80e99796678a7dca2c23111e03a593b9a7655.tar.gz chromium_src-c8a80e99796678a7dca2c23111e03a593b9a7655.tar.bz2 |
Implement SSL server socket over OpenSSL.
1) Mixed ssl_server_socket_nss.cc and ssl_client_socket_openssl.cc.
2) Moved common functions into openssl_util.cc.
3) Enabled SslServerSocketTest when USE_OPENSSL is defined.
BUG=
Review URL: https://codereview.chromium.org/274783002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271218 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/openssl_util.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/openssl_util.h b/crypto/openssl_util.h index e8483c96..bf83e47 100644 --- a/crypto/openssl_util.h +++ b/crypto/openssl_util.h @@ -82,7 +82,8 @@ class ScopedOpenSSLSafeSizeBuffer { }; // Initialize OpenSSL if it isn't already initialized. This must be called -// before any other OpenSSL functions. +// before any other OpenSSL functions though it is safe and cheap to call this +// multiple times. // This function is thread-safe, and OpenSSL will only ever be initialized once. // OpenSSL will be properly shut down on program exit. void CRYPTO_EXPORT EnsureOpenSSLInit(); |