Displaying 1 result from an estimated 1 matches for "stream_socket_enable_crypto".
2008 Apr 30
1
Avelsieve 1.9.7 and Dovecot/TLS
...'get_response' and instead of
a script list i saw "IMPLEMENTATION". So i took a look at
the file 'managesieve.lib.php' and the STARTTLS code:
/* If we allow STARTTLS, use it */
if($this->capabilities['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;
$...