Commit 64c5a213 authored by Mingtao Yang's avatar Mingtao Yang Committed by Facebook Github Bot

Clarify folly::ssl::init documentation

Summary: Adds wording indicating that it is safe to call this function multiple times.

Reviewed By: yfeldblum

Differential Revision: D6625530

fbshipit-source-id: 2305f7b8e3451a6663003d23230b22c6f65a3729
parent 5cb23840
...@@ -23,8 +23,10 @@ namespace folly { ...@@ -23,8 +23,10 @@ namespace folly {
namespace ssl { namespace ssl {
/** /**
* Initializes openssl. This should be invoked once, during the start of an * Initializes openssl. This should be invoked once, during the start of an
* application. For OpenSSL < 1.1.0, any lock types should be set with * application. Subsequent calls to this function are no-ops.
* setLockTypes prior to the call to folly::ssl::init() *
* For OpenSSL < 1.1.0, any lock types should be set with setLockTypes prior to
* the call to folly::ssl::init()
*/ */
void init(); void init();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment