search for: stream_crypto_method_tls_client

Displaying 1 result from an estimated 1 matches for "stream_crypto_method_tls_client".

2008 Apr 30
1
Avelsieve 1.9.7 and Dovecot/TLS
...abilities['starttls'] === true && function_exists('stream_socket_enable_crypto') === true) { fputs($this->fp,"STARTTLS\r\n"); $starttls_response = $this->line=fgets($this->fp,1024); if(stream_socket_enable_crypto($this->fp, true, STREAM_CRYPTO_METHOD_TLS_CLIENT) == false) { $this->error=EC_UNKNOWN; $this->error_raw = "Failed to establish TLS connection."; return false; } else { $this->loggedin = true; // RFC says that we need to ask for the capabilities aga...