From: Mingtao Yang Date: Fri, 5 Jan 2018 20:54:46 +0000 (-0800) Subject: Clarify folly::ssl::init documentation X-Git-Tag: v2018.01.08.00~7 X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=commitdiff_plain;h=64c5a21374fa65e4179b3f165c269f4bf1534dba;hp=5cb23840adceb1c5f4d960967c9a66374a858b9e 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 --- diff --git a/folly/ssl/Init.h b/folly/ssl/Init.h index e1f9273a..e715ba3c 100644 --- a/folly/ssl/Init.h +++ b/folly/ssl/Init.h @@ -23,8 +23,10 @@ namespace folly { namespace ssl { /** * 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 - * setLockTypes prior to the call to folly::ssl::init() + * application. Subsequent calls to this function are no-ops. + * + * For OpenSSL < 1.1.0, any lock types should be set with setLockTypes prior to + * the call to folly::ssl::init() */ void init();