1
0
Fork 0

backward compatibility

This commit is contained in:
Friendika 2011-02-01 22:45:46 -08:00
commit fce9988f73
2 changed files with 20 additions and 23 deletions

View file

@ -91,7 +91,7 @@ function dfrn_notify_post(&$a) {
logger('rino: md5 raw key: ' . md5($rawkey));
$final_key = '';
if($dfrn_version > 2.1) {
if($dfrn_version >= 2.1) {
if((($importer['duplex']) && strlen($importer['cprvkey'])) || (! strlen($importer['cpubkey']))) {
openssl_private_decrypt($rawkey,$final_key,$importer['cprvkey']);
}