Fix name of Bleichenbacher

This commit is contained in:
Olaf Conradi 2013-09-24 21:04:01 +02:00
parent e9a51797a2
commit 66d2fe2289

View File

@ -175,7 +175,7 @@ function post_post(&$a) {
$data = aes_unencapsulate($data,get_config('system','prvkey')); $data = aes_unencapsulate($data,get_config('system','prvkey'));
logger('mod_zot: decrypt1: ' . $data, LOGGER_DATA); logger('mod_zot: decrypt1: ' . $data, LOGGER_DATA);
// susceptible to Bleichenberger attack // susceptible to Bleichenbacher's attack
// if(! $data) { // if(! $data) {
// $ret['message'] = 'Decryption failed.'; // $ret['message'] = 'Decryption failed.';
// json_return_and_die($ret); // json_return_and_die($ret);
@ -187,7 +187,7 @@ function post_post(&$a) {
if(! $data) { if(! $data) {
// possible Bleichenberger attack, just treat it as a // possible Bleichenbacher's attack, just treat it as a
// message we have no handler for. It should fail a bit // message we have no handler for. It should fail a bit
// further along with "no hub". Our public key is public // further along with "no hub". Our public key is public
// knowledge. There's no reason why anybody should get the // knowledge. There's no reason why anybody should get the