Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Unified Diff: crypto/openssl_util.h

Issue 274783002: Implement SSL server socket over OpenSSL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for some comments. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/openssl_util.h
diff --git a/crypto/openssl_util.h b/crypto/openssl_util.h
index e8483c9633ed577eabe24aecb9aab6182b4fbbe5..bf83e470eb3a1eea62bbd50fe13177da43124188 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();
« no previous file with comments | « no previous file | net/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698