summaryrefslogtreecommitdiff
path: root/www/gpg.php
diff options
context:
space:
mode:
authorMarkus Warg <mw@it-sls.de>2010-03-29 11:13:48 +0200
committerMarkus Warg <mw@it-sls.de>2010-03-29 11:13:48 +0200
commiteab6644f0f372e5334ae4921f0e84cebbdca025d (patch)
tree3dc8c347d9a3abdcb79c872c06aaffb420611ca6 /www/gpg.php
parent2ac0d51db72c02c757fce57c309d63470ad3d337 (diff)
downloadcacert-devel-eab6644f0f372e5334ae4921f0e84cebbdca025d.tar.gz
cacert-devel-eab6644f0f372e5334ae4921f0e84cebbdca025d.tar.xz
cacert-devel-eab6644f0f372e5334ae4921f0e84cebbdca025d.zip
patch from Phillip (Mantis #778)
https://bugs.cacert.org/view.php?id=778
Diffstat (limited to 'www/gpg.php')
-rw-r--r--www/gpg.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/gpg.php b/www/gpg.php
index 38e5426..f97966f 100644
--- a/www/gpg.php
+++ b/www/gpg.php
@@ -82,7 +82,7 @@ function verifyEmail($email)
$state=0;
if($oldid == "0" && $CSR != "")
{
- $debugkey = $gpgkey = clean_csr($CSR);
+ $debugkey = $gpgkey = clean_gpgcsr($CSR);
$debugpg = $gpg = trim(`echo "$gpgkey"|gpg --with-colons --homedir /tmp 2>&1`);
$lines = "";
$gpgarr = explode("\n", $gpg);
@@ -268,7 +268,7 @@ function verifyEmail($email)
mkdir($cwd,0755);
$fp = fopen("$cwd/gpg.csr", "w");
- fputs($fp, clean_csr($CSR));
+ fputs($fp, clean_gpgcsr($CSR));
fclose($fp);