From 0c723a6045a185e4cae76ca42520e1274648be3c Mon Sep 17 00:00:00 2001 From: Anirudh Ramachandran Date: Fri, 9 Sep 2016 10:23:15 -0700 Subject: [PATCH] Make folly::PasswordCollector::getPassword const Summary: As in title Reviewed By: siyengar Differential Revision: D3794648 fbshipit-source-id: f0b7052f34ecce65cf4e21d546d08c7a6b0a8ee3 --- folly/io/async/SSLContext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/folly/io/async/SSLContext.h b/folly/io/async/SSLContext.h index 4593f918..a8f18620 100644 --- a/folly/io/async/SSLContext.h +++ b/folly/io/async/SSLContext.h @@ -58,7 +58,7 @@ class PasswordCollector { * @param password Pass collected password back to OpenSSL * @param size Maximum length of password including nullptr character */ - virtual void getPassword(std::string& password, int size) = 0; + virtual void getPassword(std::string& password, int size) const = 0; /** * Return a description of this collector for logging purposes -- 2.34.1