summaryrefslogtreecommitdiff
path: root/ext/imap/php_imap.c
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-01-18 07:00:47 +0000
committerfoobar <sniper@php.net>2003-01-18 07:00:47 +0000
commit83e9f231827d19ece6c3be32ec6c8162db478fb4 (patch)
tree248f3bdef1b34b2cf6619cb3d732aa5e0d9b8fdd /ext/imap/php_imap.c
parentaba4c07be1c16a6af7e7c287c2cdad2a01ef58ad (diff)
downloadphp-git-83e9f231827d19ece6c3be32ec6c8162db478fb4.tar.gz
Fix bug: #21687, imap extension does not include gss authentication mechanism
Diffstat (limited to 'ext/imap/php_imap.c')
-rw-r--r--ext/imap/php_imap.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c
index af12742c12..8362583cb3 100644
--- a/ext/imap/php_imap.c
+++ b/ext/imap/php_imap.c
@@ -415,7 +415,11 @@ PHP_MINIT_FUNCTION(imap)
#ifndef PHP_WIN32
auth_link(&auth_log); /* link in the log authenticator */
auth_link(&auth_md5); /* link in the cram-md5 authenticator */
-#ifdef HAVE_IMAP_SSL
+#ifdef HAVE_IMAP_AUTH_GSS
+ auth_link(&auth_gss); /* link in the gss authenticator */
+#endif
+
+#ifdef HAVE_IMAP_SSL
ssl_onceonlyinit ();
#endif
#endif