pike.git
/
lib
/
modules
/
SSL.pmod
/
https.pike
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/lib/modules/SSL.pmod/https.pike:1:
#pike __REAL_VERSION__
+
#require constant(SSL.Cipher)
-
/*
-
* dummy https server/client
-
*/
-
+
//! Dummy HTTPS server/client #ifndef PORT #define PORT 25678 #endif #ifdef SSL3_DEBUG #define SSL3_DEBUG_MSG(X ...) werror(X) #else /*! SSL3_DEBUG */ #define SSL3_DEBUG_MSG(X ...) #endif /* SSL3_DEBUG */
-
#if constant(SSL.Cipher.CipherAlgorithm)
-
+
import Stdio; #ifndef HTTPS_CLIENT inherit SSL.sslport; protected void create() { SSL3_DEBUG_MSG("https->create\n"); sslport::create(); }
pike.git/lib/modules/SSL.pmod/https.pike:249:
{ perror(""); return 17; } else { werror("Listening on port %d.\n", PORT); return -17; } #endif }
-
-
#else // constant(SSL.Cipher.CipherAlgorithm)
-
constant this_program_does_not_exist = 1;
-
#endif
+