From c7c4d077688807bcbec21e11d0aeb0af9ebfbd30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20T=C3=A4nzer?= Date: Mon, 21 Apr 2014 20:07:00 +0200 Subject: Source code taken from cacert-20140419.tar.bz2 --- scripts/gpgfillmissingemail.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/gpgfillmissingemail.php') 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"; -- cgit v1.2.1