From e2f632e1f2a2d4236dc3209a13bcbfa90dc1f70c Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Thu, 1 Mar 2001 07:06:54 +0000 Subject: If php is compiled --with-imap-ssl, link in the SSL authenticator from c-client so that we can use php to make ssl imap connections. --- ext/imap/php_imap.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ext/imap/php_imap.c') diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c index 178378e424..010004eb60 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -443,6 +443,10 @@ PHP_MINIT_FUNCTION(imap) mail_link(&newsdriver); /* link in the news driver */ mail_link(&philedriver); /* link in the phile driver */ auth_link(&auth_log); /* link in the log authenticator */ +#ifdef HAVE_IMAP_SSL + ssl_onceonlyinit (); + auth_link (&auth_ssl); /* link in the ssl authenticator */ +#endif #endif mail_link(&dummydriver); /* link in the dummy driver */ #else -- cgit v1.2.1