ITS#821: TLS data ready patch

This commit is contained in:
Kurt Zeilenga 2000-10-17 21:41:59 +00:00
parent ea918d3cfe
commit 6481a9f105
2 changed files with 6 additions and 0 deletions

View File

@ -1,6 +1,7 @@
OpenLDAP 2.0 Change Log
OpenLDAP 2.0.X Engineering
Fixed -lldap TLS data ready bug (ITS#821)
Fixed slapd spasswd mutex bug
Fixed slapd ACL nameuid bug
Fixed slapd SASL layerring bug

View File

@ -361,6 +361,11 @@ sb_tls_ctrl( Sockbuf_IO_Desc *sbiod, int opt, void *arg )
if ( opt == LBER_SB_OPT_GET_SSL ) {
*((SSL **)arg) = p->ssl;
return 1;
} else if ( opt == LBER_SB_OPT_DATA_READY ) {
if( SSL_pending( p->ssl ) > 0 ) {
return 1;
}
}
return LBER_SBIOD_CTRL_NEXT( sbiod, opt, arg );