This commit is contained in:
Glenn Maynard
2006-09-18 23:28:10 +00:00
parent 03ce23e9ea
commit b8349ca68b
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ static Bignum rsa_privkey_op(Bignum input, const RSAKey *key)
* Conceptually the following few lines are equivalent to
* byte = random_byte();
*/
if (digestused >= ARRAYSIZE(digest512)) {
if (digestused >= ARRAYLEN(digest512)) {
unsigned char seqbuf[4];
PUT_32BIT(seqbuf, hashseq);
SHA512_Init(&ss);