Branch: Tag:

2010-12-26

2010-12-26 13:56:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.https: Protected some more LFUNs.

1:   #pike __REAL_VERSION__    - /* $Id: https.pike,v 1.19 2010/07/25 19:32:26 marcus Exp $ + /* $Id$    *    * dummy https server    */
68: Inside #if constant(SSL.Cipher.CipherAlgorithm)
   sslfile->set_write_callback(write_callback);    }    -  void create(object f) +  protected void create(object f)    {    sslfile = f;    sslfile->set_nonblocking(read_callback, 0, 0);
78: Inside #if constant(SSL.Cipher.CipherAlgorithm)
  class no_random {    object arcfour = Crypto.Arcfour();    -  void create(string|void secret) +  protected void create(string|void secret)    {    if (!secret)    secret = sprintf("Foo!%4c", time());
154:    return -17;   }    - void create() + protected void create()   {   #ifdef SSL3_DEBUG    werror("https->create\n");