/* Decrypt the password */
$password = OneTimePadDecrypt($password, $onetimepad);
- if ((($imap_auth_mech == 'cram-md5') OR ($imap_auth_mech == 'digest-md5')) AND (extension_loaded('mhash'))) {
+ if (($imap_auth_mech == 'cram-md5') OR ($imap_auth_mech == 'digest-md5')) {
// We're using some sort of authentication OTHER than plain
$tag=sqimap_session_id(false);
if ($imap_auth_mech == 'digest-md5') {
$string = sqimap_find_email($orig_string);
}
if( $string == '' || $string == ' ' ){
- $string = ' ';
+ $string = ' ';
}
}
elseif ( ereg('\((.*)\)', $string, $regs) ) {
if ( ereg('^(.+) \(', $string, $regs) ) {
$string = ereg_replace( ' \(\)$', '', $string );
} else {
- $string = ' ';
+ $string = ' ';
}
} else {
$string = $regs[1];