Branch: Tag:

2005-12-28

2005-12-28 20:55:05 by Martin Nilsson <mani@lysator.liu.se>

Stricter

Rev: lib/modules/Protocols.pmod/HTTP.pmod/Server.pmod/SSLPort.pike:1.11

46: Inside #if constant(SSL.Cipher.CipherAlgorithm)
   if(certificate)    port->set_certificate(certificate);    -  if (!port->bind(portno,new_connection,interface)) +  if (!port->bind(portno,new_connection,[string]interface))    error("HTTP.Server.SSLPort: failed to bind port %s%d: %s\n",    interface?interface+":":"",    portno,strerror(port->errno()));
142:    }       //! -  void set_certificate(string|array certificate) +  void set_certificate(string|array(string) certificate)    {    if(arrayp(certificate)) -  certificates = certificate; +  certificates = [array(string)]certificate;    else -  certificates = ({ certificate }); +  certificates = ({ [string]certificate });    }       void create()