mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-05 14:42:10 -05:00
ITS#7042 More to unsetting opts with an empty string
This commit is contained in:
parent
0f9afae02d
commit
860daa0989
1 changed files with 1 additions and 1 deletions
|
|
@ -984,7 +984,7 @@ ldap_pvt_tls_set_option( LDAP *ld, int option, void *arg )
|
|||
|
||||
if ( !tls_imp->ti_session_pinning ) return -1;
|
||||
|
||||
if ( !pin ) {
|
||||
if ( !pin || !*pin ) {
|
||||
if ( lo->ldo_tls_pin_hashalg ) {
|
||||
LDAP_FREE( lo->ldo_tls_pin_hashalg );
|
||||
} else if ( lo->ldo_tls_pin.bv_val ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue