Home
last modified time | relevance | path

Searched refs:sslfd (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libldap5/sources/ldap/ssldap/
H A Dldapsinit.c258 PRFileDesc *sslfd = NULL; in do_ldapssl_connect() local
386 if (( sslfd = SSL_ImportFD( NULL, soi.soinfo_prfd )) == NULL ) { in do_ldapssl_connect()
390 if ( SSL_OptionSet( sslfd, SSL_SECURITY, secure ) != SECSuccess || in do_ldapssl_connect()
391 SSL_OptionSet( sslfd, SSL_HANDSHAKE_AS_CLIENT, secure ) in do_ldapssl_connect()
392 != SECSuccess || ( secure && SSL_ResetHandshake( sslfd, in do_ldapssl_connect()
401 soi.soinfo_prfd = sslfd; in do_ldapssl_connect()
412 if (SSL_SetURL(sslfd, host) != SECSuccess) in do_ldapssl_connect()
418 sslfd = NULL; /* so we don't close the socket twice upon error */ in do_ldapssl_connect()
438 if ( NULL != sslfd ) { in do_ldapssl_connect()
439 PR_Close( sslfd ); in do_ldapssl_connect()
[all …]