Branch: Tag:

2001-04-18

2001-04-18 14:30:41 by Pär Svensson <noy@lysator.liu.se>

Added support for TLS1.0, Added blocking interface.

Rev: lib/modules/SSL.pmod/cipher.pike:1.16
Rev: lib/modules/SSL.pmod/client.pike:1.2
Rev: lib/modules/SSL.pmod/connection.pike:1.15
Rev: lib/modules/SSL.pmod/constants.pike:1.8
Rev: lib/modules/SSL.pmod/handshake.pike:1.22
Rev: lib/modules/SSL.pmod/https.pike:1.10
Rev: lib/modules/SSL.pmod/packet.pike:1.6
Rev: lib/modules/SSL.pmod/session.pike:1.13
Rev: lib/modules/SSL.pmod/sslfile.pike:1.28
Rev: lib/modules/SSL.pmod/state.pike:1.7

9:   void write_callback(mixed id)   {    sslfile->set_write_callback(0); -  sslfile->write("GET / HTTP/1.0\r\n\r\n"); +  // sslfile->write("GET / HTTP/1.0\r\n\r\n");   }      void read_callback(mixed id, string s)
37:    exit(-1);    }    socket->set_nonblocking(); -  sslfile = SSL.sslfile(socket, context, 1); +  sslfile = SSL.sslfile(socket, context, 1,0);       sslfile->set_nonblocking(read_callback, write_callback, exit);       return -17;   }