From: Anirudh Ramachandran Date: Fri, 9 Sep 2016 17:23:15 +0000 (-0700) Subject: Make folly::PasswordCollector::getPassword const X-Git-Tag: v2016.09.12.00~6 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0c723a6045a185e4cae76ca42520e1274648be3c;p=folly.git Make folly::PasswordCollector::getPassword const Summary: As in title Reviewed By: siyengar Differential Revision: D3794648 fbshipit-source-id: f0b7052f34ecce65cf4e21d546d08c7a6b0a8ee3 --- 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