Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-28948 - lib - removed the hard coded key for the rc4encryt function.

  • Loading branch information...
commit 75366c60ff24436aff7e0daa02fb1d46c03ac47d 1 parent 485cb39
@abgreeve abgreeve authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/moodlelib.php
View
4 lib/moodlelib.php
@@ -6029,7 +6029,7 @@ function get_list_of_currencies() {
* @todo Finish documenting this function
*/
function rc4encrypt($data) {
- $password = 'nfgjeingjk';
+ $password = get_site_identifier();
return endecrypt($password, $data, '');
}
@@ -6041,7 +6041,7 @@ function rc4encrypt($data) {
* @todo Finish documenting this function
*/
function rc4decrypt($data) {
- $password = 'nfgjeingjk';
+ $password = get_site_identifier();
return endecrypt($password, $data, 'de');
}
Please sign in to comment.
Something went wrong with that request. Please try again.