aboutsummaryrefslogtreecommitdiffstats
path: root/include/certfns.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/certfns.php')
-rw-r--r--include/certfns.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/certfns.php b/include/certfns.php
index db0e4645e..ffdc7f0c3 100644
--- a/include/certfns.php
+++ b/include/certfns.php
@@ -121,6 +121,10 @@ function rsatopem($key) {
return(metopem($m,$e));
}
+function pemtorsa($key) {
+ pemtome($key,$m,$e);
+ return(metorsa($m,$e));
+}
function pemtome($key,&$m,&$e) {
require_once('include/salmon.php');