Skip to content

Commit

Permalink
Use hex-encoding for hashes in debug data as it's more commonly recog…
Browse files Browse the repository at this point in the history
…nised.
  • Loading branch information
dd32 committed Mar 8, 2019
1 parent 3dbb02e commit d053759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-admin/includes/file.php
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,7 @@ function verify_file_signature( $filename, $signatures, $filename_for_errors = f
'filename' => $filename_for_errors,
'keys' => $trusted_keys,
'signatures' => $signatures,
'hash' => base64_encode( $file_hash ),
'hash' => bin2hex( $file_hash ),
)
);
}
Expand Down

0 comments on commit d053759

Please sign in to comment.