Config option for disabled SSL protocols (#720)

In the global config section:
SSLDisabledProtocol = <value1>
SSLDisabledProtocol = <value2>
...

Available values are: None, SSLv2, SSLv3, TLSv1
29.10.2014 22:09, J-P Nurmi пишет:
>
> In include/znc/znc.h:
>
> > @@ -128,6 +128,7 @@ class CZNC {
> >  	unsigned int GetConnectDelay() const { return m_uiConnectDelay; }
> >  	bool GetProtectWebSessions() const { return m_bProtectWebSessions; }
> >  	CString GetSSLCiphers() const { return m_sSSLCiphers; }
> > +	unsigned int GetDisabledSSLProtocols() const { return m_uDisabledSSLProtocols; }
>
> It takes any combination of:
>
> |    enum EDisableProtocol
>     {
>         EDP_None        = 0, //!< disable nothing
>         EDP_SSLv2       = 1, //!< disable SSL verion 2
>         EDP_SSLv3       = 2, //!< disable SSL verion 3
>         EDP_TLSv1       = 4, //!< disable TLS verion 1
>         EDP_SSL         = (EDP_SSLv2|EDP_SSLv3)
>     };
> |
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/znc/znc/pull/728/files#r19575998>.
>
Then it should be |EDisableProtocol...|