Skip to content

Commit f6d53af

Browse files
committed
Auto merge of #24719 - :patch-1, r=steveklabnik
2 parents af8a4a0 + 47f9a6b commit f6d53af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc_back/sha2.rs

+1
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@ pub struct Sha256 {
482482

483483
impl Sha256 {
484484
/// Construct a new instance of a SHA-256 digest.
485+
/// Do not – under any circumstances – use this where timing attacks might be possible!
485486
pub fn new() -> Sha256 {
486487
Sha256 {
487488
engine: Engine256::new(&H256)

0 commit comments

Comments
 (0)