mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-09 02:52:04 +08:00
ITS#821: TLS data ready patch
This commit is contained in:
parent
ea918d3cfe
commit
6481a9f105
1
CHANGES
1
CHANGES
@ -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
|
||||
|
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user