summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2014-04-15 23:50:38 +0200
committerBenny Baumann <BenBE@geshi.org>2014-04-15 23:50:38 +0200
commit0ea069195e48daced9e92cc919be59a483566c78 (patch)
tree5f1eb2e1fbcd0f465a56cdf5613fded156e7081a /scripts
parentcf0497dcead22ffb3d341aca60a730c61931e9ef (diff)
parentea9f9d8d7f0b8f196161333384da2b814ac973fe (diff)
downloadcacert-devel-0ea069195e48daced9e92cc919be59a483566c78.tar.gz
cacert-devel-0ea069195e48daced9e92cc919be59a483566c78.tar.xz
cacert-devel-0ea069195e48daced9e92cc919be59a483566c78.zip
Merge branch 'bug-1184' into release
Diffstat (limited to 'scripts')
-rw-r--r--scripts/gpgfillmissingemail.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/gpgfillmissingemail.php b/scripts/gpgfillmissingemail.php
index f328876..39f9d8f 100644
--- a/scripts/gpgfillmissingemail.php
+++ b/scripts/gpgfillmissingemail.php
@@ -18,7 +18,7 @@
require_once("../includes/mysql.php"); //general.php");
//include "../includes/general.php";
-function hex2bin($data)
+function gpg_hex2bin($data)
{
while(strstr($data, "\\x"))
{
@@ -69,7 +69,7 @@ echo "Found:\n";
if (preg_match("/<([\w.-]*\@[\w.-]*)>/", $bits[9],$match))
{
//echo "Found: ".$match[1];
- $mail = trim(hex2bin($match[1]));
+ $mail = trim(gpg_hex2bin($match[1]));
echo "EMail: *$mail**\n";