#29036 [Fbk->NoF]: imap with ssl not working on windows

From: Date: Sun, 25 Jul 2004 23:00:05 +0000
Subject: #29036 [Fbk->NoF]: imap with ssl not working on windows
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-63517@lists.php.net to get a copy of this message
ID: 29036 Updated by: php-bugs@lists.php.net Reported By: josef dot spangler at rz dot uni-regensburg dot de -Status: Feedback +Status: No Feedback Bug Type: IMAP related Operating System: Windows PHP Version: 4.3.6 New Comment: No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2004-07-08 11:33:00] sniper@php.net It won't help much since we don't build the c-client library on windows with SSL support.. And the .dsp file should be edited too, did you to that? (give a diff for that if you did :) ------------------------------------------------------------------------ [2004-07-06 21:18:07] josef dot spangler at rz dot uni-regensburg dot de Description: ------------ The php_imap extension is unable to connect over ssl to an imap server. The reason is because the ssl engine is not initialized: In php_imap.c Line 435 the function ssl_onceonlyinit (); is not called on windows systems. The following fix will correct this: *** php_imap.c.org Thu Jan 15 01:36:08 2004 --- php_imap.c Thu May 06 13:28:30 2004 *************** *** 427,438 **** #ifndef PHP_WIN32 auth_link(&auth_log); /* link in the log authenticator */ auth_link(&auth_md5); /* link in the cram-md5 authenticator */ #if HAVE_IMAP_KRB && defined(HAVE_IMAP_AUTH_GSS) auth_link(&auth_gss); /* link in the gss authenticator */ #endif #ifdef HAVE_IMAP_SSL ssl_onceonlyinit (); - #endif #endif --- 427,438 ---- #ifndef PHP_WIN32 auth_link(&auth_log); /* link in the log authenticator */ auth_link(&auth_md5); /* link in the cram-md5 authenticator */ #if HAVE_IMAP_KRB && defined(HAVE_IMAP_AUTH_GSS) auth_link(&auth_gss); /* link in the gss authenticator */ #endif + #endif #ifdef HAVE_IMAP_SSL ssl_onceonlyinit (); #endif ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29036&edit=1

« previous php.bugs (#63517) next »