/[cvs]/eggdrop1.8/src/tls.c
ViewVC logotype

Diff of /eggdrop1.8/src/tls.c

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.5 by pseudo, Fri Nov 26 13:20:29 2010 UTC revision 1.6 by pseudo, Thu Feb 3 15:44:11 2011 UTC
# Line 695  int ssl_handshake(int sock, int flags, i Line 695  int ssl_handshake(int sock, int flags, i
695     */     */
696    SSL_set_verify_depth(td->socklist[i].ssl, tls_maxdepth + 1);    SSL_set_verify_depth(td->socklist[i].ssl, tls_maxdepth + 1);
697    
698    SSL_set_mode(td->socklist[i].ssl, SSL_MODE_ENABLE_PARTIAL_WRITE);    SSL_set_mode(td->socklist[i].ssl, SSL_MODE_ENABLE_PARTIAL_WRITE |
699                   SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER);
700    if (data->flags & TLS_CONNECT) {    if (data->flags & TLS_CONNECT) {
701      SSL_set_verify(td->socklist[i].ssl, SSL_VERIFY_PEER, ssl_verify);      SSL_set_verify(td->socklist[i].ssl, SSL_VERIFY_PEER, ssl_verify);
702      ret = SSL_connect(td->socklist[i].ssl);      ret = SSL_connect(td->socklist[i].ssl);

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23