projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebba6c4
)
check counter value against 4 * L, not 4096
author
Dr. Stephen Henson
<steve@openssl.org>
Fri, 25 Nov 2011 15:01:23 +0000
(15:01 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Fri, 25 Nov 2011 15:01:23 +0000
(15:01 +0000)
crypto/dsa/dsa_gen.c
patch
|
blob
|
history
diff --git
a/crypto/dsa/dsa_gen.c
b/crypto/dsa/dsa_gen.c
index d5f4debc9223419de117c5374edc3930abd318d4..3b49420c762f850a1433a0db79d60056cb6a8cdf 100644
(file)
--- a/
crypto/dsa/dsa_gen.c
+++ b/
crypto/dsa/dsa_gen.c
@@
-666,7
+666,7
@@
int dsa_builtin_paramgen2(DSA *ret, size_t L, size_t N,
/* "offset = offset + n + 1" */
/* step 14 */
- if (counter >=
4096
) break;
+ if (counter >=
(int)(4 * L)
) break;
}
}
end: