With a little help from Marc (ok, a lot), CRAM-MD5 and DIGEST-MD5 no longer require...
[squirrelmail.git] / class / deliver / Deliver_SMTP.class.php
index 4c8e49a0eac09cbd9ffb7a6f1b4381145562e956..d3670782909b0a78453937e970cdde696d7b88c8 100644 (file)
@@ -51,8 +51,7 @@ class Deliver_SMTP extends Deliver {
        }
     
        /* Lets introduce ourselves */
-       if ((( $smtp_auth_mech == 'cram-md5') or ( $smtp_auth_mech == 'digest-md5' )) and (extension_loaded('mhash')))
-       {
+       if (( $smtp_auth_mech == 'cram-md5') or ( $smtp_auth_mech == 'digest-md5' )) {
          // Doing some form of non-plain auth
          fputs($stream, "EHLO $domain\r\n");
          $tmp = fgets($stream,1024);