changed elemsof() macro to countof()

This commit is contained in:
Andreas Steffen
2009-04-17 09:28:45 +00:00
parent 247e665a44
commit 2775c9aac8
11 changed files with 13 additions and 15 deletions
+1 -1
View File
@@ -483,7 +483,7 @@ process_rsa_secret(RSA_private_key_t *rsak)
MP_INT *n = (MP_INT *) ((char *)rsak + p->offset);
n_to_mpz(n, buf, sz);
if (pb_next < &pub_bytes[elemsof(pub_bytes)])
if (pb_next < &pub_bytes[countof(pub_bytes)])
{
if (eb_next - ebytes + sz > sizeof(ebytes))
return "public key takes too many bytes";