cleanup to ensure protocol version is passed properly. We will need it if/when any incompatible protocol changes are introduced.

This commit is contained in:
Mike Macgirvin 2010-10-12 20:29:04 -07:00
parent 3c440f70c6
commit 033935c194
6 changed files with 44 additions and 22 deletions

View file

@ -109,7 +109,7 @@ function dfrn_confirm_post(&$a) {
$params['public_key'] = bin2hex(openssl_encrypt($public_key,'AES-256-CBC',$src_aes_key));
}
$params['dfrn_version'] = '2.0';
$params['dfrn_version'] = DFRN_PROTOCOL_VERSION ;
if($duplex == 1)
$params['duplex'] = 1;