From 64c5a21374fa65e4179b3f165c269f4bf1534dba Mon Sep 17 00:00:00 2001 From: Mingtao Yang Date: Fri, 5 Jan 2018 12:54:46 -0800 Subject: [PATCH] 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 --- folly/ssl/Init.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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(); -- 2.34.1