pike.git / lib / modules / SSL.pmod / Context.pike

version» Context lines:

pike.git/lib/modules/SSL.pmod/Context.pike:742: Inside #if constant(Crypto.ECC.Curve) && constant(Crypto.AES.GCM) && constant(Crypto.SHA384)
   }   }      #endif /* Crypto.ECC.Curve && Crypto.AES.GCM && Crypto.SHA384 */      //! Lists the supported compression algorithms in order of preference.   //!   //! Defaults to @expr{({ COMPRESSION_null, COMPRESSION_deflate })@}   //! (ie avoid compression unless the client requires it) due to   //! SSL attacks that target compression. - array(int) preferred_compressors = -  ({ COMPRESSION_null, COMPRESSION_deflate }); + array(int) preferred_compressors = ({ +  COMPRESSION_null, + #if constant(Gz) +  COMPRESSION_deflate, + #endif +  });      //! Non-zero to enable caching of sessions   int use_cache = 1;      //! Sessions are removed from the cache when they are older than this   //! limit (in seconds). Sessions are also removed from the cache if a   //! connection using the session dies unexpectedly.   int session_lifetime = 600;      //! Maximum number of sessions to keep in the cache.