diff options
author | Friendika <info@friendika.com> | 2011-07-30 01:03:24 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-07-30 01:03:24 -0700 |
commit | 60caffcd7776043ee89e5939b81d7bd9d948cd4e (patch) | |
tree | 14765e1b7994bdd2682a301bbfa384259d225a8d /include | |
parent | 01703f3be6fae07d9fbb24f1b57b8c181cb59df9 (diff) | |
download | volse-hubzilla-60caffcd7776043ee89e5939b81d7bd9d948cd4e.tar.gz volse-hubzilla-60caffcd7776043ee89e5939b81d7bd9d948cd4e.tar.bz2 volse-hubzilla-60caffcd7776043ee89e5939b81d7bd9d948cd4e.zip |
convert our native pkcs#8 to pkcs#1 for diaspora-public-key xrd field
Diffstat (limited to 'include')
-rw-r--r-- | include/certfns.php | 4 |
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'); |