From: Danny Al-Gaaf Date: Fri, 7 Nov 2014 20:44:29 +0000 (+0100) Subject: AuthSessionHandler.h: init protocol in constructor X-Git-Tag: v0.89~22^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=41b5dd233b23eb3fe5b49d6a096d0bff81d5380e;p=ceph.git AuthSessionHandler.h: init protocol in constructor Init protocol in AuthSessionHandler constructor with with CEPH_AUTH_UNKNOWN. Signed-off-by: Danny Al-Gaaf --- diff --git a/src/auth/AuthSessionHandler.h b/src/auth/AuthSessionHandler.h index 684b83a28681..c560119ec775 100644 --- a/src/auth/AuthSessionHandler.h +++ b/src/auth/AuthSessionHandler.h @@ -44,8 +44,9 @@ public: int messages_encrypted; int messages_decrypted; - AuthSessionHandler(CephContext *cct_) : cct(cct_), messages_signed(0), signatures_checked(0), - signatures_matched(0), signatures_failed(0), messages_encrypted(0), messages_decrypted(0) {} + AuthSessionHandler(CephContext *cct_) : cct(cct_), protocol(CEPH_AUTH_UNKNOWN), messages_signed(0), + signatures_checked(0), signatures_matched(0), signatures_failed(0), messages_encrypted(0), + messages_decrypted(0) {} AuthSessionHandler(CephContext *cct_, int protocol_, CryptoKey key_) : cct(cct_), protocol(protocol_), key(key_), messages_signed(0), signatures_checked(0), signatures_matched(0),