Roxen.git/
server/
base_server/
roxen.pike
Branch:
Tag:
Non-build tags
All tags
No tags
1998-07-07
1998-07-07 19:04:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>
72022fad7129334a0ff247fb31242d42acc70e9a (
15
lines) (+
8
/-
7
)
[
Show
|
Annotate
]
Branch:
5.2
Fixed bug in old SSL protocol handling.
Rev: server/base_server/roxen.pike:1.217
1:
-
constant cvs_version = "$Id: roxen.pike,v 1.
216
1998/07/07 19:
01
:
26
grubba Exp $";
+
constant cvs_version = "$Id: roxen.pike,v 1.
217
1998/07/07 19:
04
:
19
grubba Exp $";
#define IN_ROXEN #include <roxen.h> #include <config.h>
1929:
// First find out if we have any new ports. mapping(string:array(string)) new_ports = ([]); foreach(QUERY(ConfigPorts), port) {
+
if ((< "ssl", "ssleay" >)[port[1]]) {
+
// Obsolete versions of the SSL protocol.
+
report_warning("Obsolete SSL protocol-module \""+port[1]+"\".\n"
+
"Converted to SSL3.\n");
+
port[1] = "ssl3";
+
}
string key = MKPORTKEY(port); if (!configuration_ports[key]) { report_notice(sprintf("New configuration port: %s\n", key));
1969:
array old = port; mixed erro; erro = catch {
-
if ((< "ssl", "ssleay" >)[port[1]]) {
-
// Obsolete versions of the SSL protocol.
-
report_warning("Obsolete SSL protocol-module \""+port[1]+"\".\n"
-
"Converted to SSL3.\n");
-
port[1] = "ssl3";
-
}
+
program requestprogram = (program)(getcwd()+"/protocols/"+port[1]); function rp; array tmp;