aboutsummaryrefslogtreecommitdiffstats
path: root/include/diaspora.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-28 21:41:42 -0700
committerFriendika <info@friendika.com>2011-08-28 21:41:42 -0700
commit846c4cea7c0e3868a63a187ee9a504a031b2a7e4 (patch)
tree034407e183dfb95ce9ef77cbe6a5af73377e2090 /include/diaspora.php
parentf29f228463d35f574d6d285be0cf337b7d39c541 (diff)
downloadvolse-hubzilla-846c4cea7c0e3868a63a187ee9a504a031b2a7e4.tar.gz
volse-hubzilla-846c4cea7c0e3868a63a187ee9a504a031b2a7e4.tar.bz2
volse-hubzilla-846c4cea7c0e3868a63a187ee9a504a031b2a7e4.zip
implement delivery queue in case notifier gets killed
Diffstat (limited to 'include/diaspora.php')
-rw-r--r--include/diaspora.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/diaspora.php b/include/diaspora.php
index 6cba0ecec..99bc21c0b 100644
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -140,10 +140,9 @@ EOT;
$encrypted_outer_key_bundle = '';
openssl_public_encrypt($outer_json,$encrypted_outer_key_bundle,$pubkey);
- logger('outer_bundle_encrypt: ' . openssl_error_string());
$b64_encrypted_outer_key_bundle = base64_encode($encrypted_outer_key_bundle);
- logger('outer_bundle: ' . $b64_encrypted_outer_key_bundle . ' key: ' . $pubkey);
+ logger('outer_bundle: ' . $b64_encrypted_outer_key_bundle . ' key: ' . $pubkey, LOGGER_DATA);
$encrypted_header_json_object = json_encode(array('aes_key' => base64_encode($encrypted_outer_key_bundle),
'ciphertext' => base64_encode($ciphertext)));
@@ -223,7 +222,7 @@ function diaspora_decode($importer,$xml) {
* </decrypted_header>
*/
- logger('decrypted: ' . $decrypted);
+ logger('decrypted: ' . $decrypted, LOGGER_DEBUG);
$idom = parse_xml_string($decrypted,false);
$inner_iv = base64_decode($idom->iv);