diff options
Diffstat (limited to 'crypto/sparse_array.c')
-rw-r--r-- | crypto/sparse_array.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/sparse_array.c b/crypto/sparse_array.c index 796d35e349..5bcdbc5313 100644 --- a/crypto/sparse_array.c +++ b/crypto/sparse_array.c @@ -187,7 +187,7 @@ int OPENSSL_SA_set(OPENSSL_SA *sa, size_t posn, void *val) if (sa == NULL) return 0; - for (level = 1; level <= SA_BLOCK_MAX_LEVELS; level++) + for (level = 1; level < SA_BLOCK_MAX_LEVELS; level++) if ((n >>= OPENSSL_SA_BLOCK_BITS) == 0) break; |