pike.git / lib / modules / Protocols.pmod / HTTP.pmod / Server.pmod / SSLPort.pike

version» Context lines:

pike.git/lib/modules/Protocols.pmod/HTTP.pmod/Server.pmod/SSLPort.pike:96:    "commonName" : "*",    ]);       string c = Standards.X509.make_selfsigned_certificate(private_key,    3600*24*365, a);       ctx->add_cert( private_key, ({ c }) );    }   }    + protected string _sprintf(int t) { +  return t=='O' && sprintf("%O(%O:%d)", this_program, interface, portno); + }    - // ---- Remove this? + // ---- Deprecated      private string tmp_key;   private array(string) tmp_cert;      __deprecated__ this_program `port()   {    return this;   }      //! @deprecated add_cert
pike.git/lib/modules/Protocols.pmod/HTTP.pmod/Server.pmod/SSLPort.pike:125:   //! @deprecated add_cert   __deprecated__ void set_certificate(string|array(string) certificate)   {    if(arrayp(certificate))    tmp_cert = [array(string)]certificate;    else    tmp_cert = ({ [string]certificate });    if( tmp_key && tmp_cert )    ctx->add_cert( tmp_key, tmp_cert );   } -  - protected string _sprintf(int t) { -  return t=='O' && sprintf("%O(%O:%d)", this_program, interface, portno); - } +