replaced 8 by BITS_PER_BYTE

This commit is contained in:
Andreas Steffen
2007-09-12 09:19:59 +00:00
parent ba02f63eb1
commit b5816842f9
@@ -670,7 +670,7 @@ rsa_private_key_t *rsa_private_key_create_from_chunk(chunk_t blob)
objectID++;
}
this->k = (mpz_sizeinbase(this->n, 2) + 7) / 8;
this->k = (mpz_sizeinbase(this->n, 2) + 7) / BITS_PER_BYTE;
/* form the keyid as a SHA-1 hash of a publicKeyInfo object */
{