aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-07-24 05:13:21 -0700
committerfriendica <info@friendica.com>2013-07-24 05:13:21 -0700
commit20ba6dd62e1b63db367c92d864cb890aa179b082 (patch)
treea656ba2334cab421c28e0bb5dc8f1988f7f3efd9
parent9288c2e63637879cc2e431a23a94633b69d8e4a5 (diff)
downloadvolse-hubzilla-20ba6dd62e1b63db367c92d864cb890aa179b082.tar.gz
volse-hubzilla-20ba6dd62e1b63db367c92d864cb890aa179b082.tar.bz2
volse-hubzilla-20ba6dd62e1b63db367c92d864cb890aa179b082.zip
not quite so much crypto logging
-rw-r--r--include/crypto.php3
-rw-r--r--version.inc2
2 files changed, 3 insertions, 2 deletions
diff --git a/include/crypto.php b/include/crypto.php
index 9d36c24ec..b78c4d43a 100644
--- a/include/crypto.php
+++ b/include/crypto.php
@@ -217,7 +217,8 @@ function aes_encapsulate($data,$pubkey) {
$iv = random_string(16,RANDOM_STRING_TEXT);
$result['data'] = base64url_encode(AES256CBC_encrypt($data,$key,$iv),true);
if(! openssl_public_encrypt($key,$k,$pubkey)) {
- logger('aes_encapsulate: RSA failed. ' . print_r(debug_backtrace(),true));
+ $x = debug_backtrace();
+ logger('aes_encapsulate: RSA failed. ' . print_r($x[0],true));
}
$result['key'] = base64url_encode($k,true);
openssl_public_encrypt($iv,$i,$pubkey);
diff --git a/version.inc b/version.inc
index a4dd3e760..164368ab4 100644
--- a/version.inc
+++ b/version.inc
@@ -1 +1 @@
-2013-07-23.383
+2013-07-24.384