aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZach Prezkuta <fermion@gmx.com>2012-06-16 10:45:26 -0600
committerZach Prezkuta <fermion@gmx.com>2012-06-16 10:45:26 -0600
commit3132ed297991433dd387f7fa826a27b6d67675c5 (patch)
tree65f0cc64765e42231998583f81f22318c22bbcbd
parent577cfdd314259ea490c1bef89ff847bbc8e168c2 (diff)
downloadvolse-hubzilla-3132ed297991433dd387f7fa826a27b6d67675c5.tar.gz
volse-hubzilla-3132ed297991433dd387f7fa826a27b6d67675c5.tar.bz2
volse-hubzilla-3132ed297991433dd387f7fa826a27b6d67675c5.zip
more cleanup
-rwxr-xr-xinclude/diaspora.php15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/diaspora.php b/include/diaspora.php
index 5be09a7ac..2be266e8a 100755
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -1866,21 +1866,6 @@ function diaspora_signed_retraction($importer,$xml,$msg) {
}
else {
-/* if(strcasecmp($diaspora_handle,$msg['author']) == 0) {
- $person = $contact;
- $key = $msg['key'];
- }
- else {
- $person = find_diaspora_person_by_handle($diaspora_handle);
-
- if(is_array($person) && x($person,'pubkey'))
- $key = $person['pubkey'];
- else {
- logger('diaspora_signed_retraction: unable to find author details');
- return;
- }
- }*/
-
$sig_decode = base64_decode($sig);
if(! rsa_verify($signed_data,$sig_decode,$key,'sha256')) {