Ignore:
Timestamp:
2006-04-17T08:25:16Z (19 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
79c6f9f
Parents:
5aa9551e
Message:

Fixed ssl_nss.c (although it still needs some non-blocking I/O changes).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/ssl_nss.c

    r5aa9551e r6e62132  
    122122        if( source == -1 )
    123123                goto ssl_connected_failure;
    124 
    125124       
    126 
    127 
     125        /* Until we find out how to handle non-blocking I/O with NSS... */
     126        sock_make_blocking( conn->fd );
     127       
    128128        conn->prfd = SSL_ImportFD(NULL, PR_ImportTCPSocket(source));
    129129        SSL_OptionSet(conn->prfd, SSL_SECURITY, PR_TRUE);
     
    181181        return( ((struct scd*)conn)->fd );
    182182}
     183
     184GaimInputCondition ssl_getdirection( void *conn )
     185{
     186        /* Just in case someone calls us, let's return the most likely case: */
     187        return GAIM_INPUT_READ;
     188}
Note: See TracChangeset for help on using the changeset viewer.