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

version» Context lines:

pike.git/lib/modules/SSL.pmod/https.pike:1:   #pike __REAL_VERSION__   #require constant(SSL.Cipher)      //! Dummy HTTPS server/client    + #include "tls.h" +    #ifndef PORT   #define PORT 25678   #endif      #ifndef CIPHER_BITS   #define CIPHER_BITS 112   #endif      #ifndef RSA_BITS   #define RSA_BITS 4096
pike.git/lib/modules/SSL.pmod/https.pike:20:   #endif      #ifndef KE_MODE   #define KE_MODE 1   #endif      #ifndef HOST   #define HOST "127.0.0.1"   #endif    - #ifdef SSL3_DEBUG - #define SSL3_DEBUG_MSG(X ...) werror(X) - #else /*! SSL3_DEBUG */ - #define SSL3_DEBUG_MSG(X ...) - #endif /* SSL3_DEBUG */ -  +    class MyContext   {    inherit SSL.Context;       SSL.Alert alert_factory(.Connection con,    int level, int description,    SSL.Constants.ProtocolVersion version,    string|void message)    {    if (message && description) {