From 2471d3a979d00e0cecca64e0d5889ca40c02c5fe Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Sat, 16 May 2009 09:01:49 -0400 Subject: [PATCH] - Added possibility to encrypt received header, option 'http_received_header_encrypt', added some more logic in encrypt/decrypt functions for security --- program/include/rcube_smtp.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/include/rcube_smtp.inc b/program/include/rcube_smtp.inc index ad6a6e0..77195e9 100644 --- a/program/include/rcube_smtp.inc +++ b/program/include/rcube_smtp.inc @@ -103,7 +103,7 @@ $smtp_user = $CONFIG['smtp_user']; if (strstr($CONFIG['smtp_pass'], '%p')) - $smtp_pass = str_replace('%p', $RCMAIL->decrypt_passwd($_SESSION['password']), $CONFIG['smtp_pass']); + $smtp_pass = str_replace('%p', $RCMAIL->decrypt($_SESSION['password']), $CONFIG['smtp_pass']); else $smtp_pass = $CONFIG['smtp_pass']; -- Gitblit v1.9.1