Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(768)

Unified Diff: openssl/crypto/lhash/lhash.h

Issue 57833003: Fix lhash implementation to avoid unwanted resizes during iteration. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/openssl@master
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: openssl/crypto/lhash/lhash.h
diff --git a/openssl/crypto/lhash/lhash.h b/openssl/crypto/lhash/lhash.h
index e7d87635911af99f0472c3a7fd60e1310230b296..75386f2db86c9e672237ebc722c6ffd909f300d2 100644
--- a/openssl/crypto/lhash/lhash.h
+++ b/openssl/crypto/lhash/lhash.h
@@ -163,6 +163,7 @@ typedef struct lhash_st
unsigned long num_hash_comps;
int error;
+ int iteration_state;
} _LHASH; /* Do not use _LHASH directly, use LHASH_OF
* and friends */

Powered by Google App Engine
This is Rietveld 408576698