diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2015-05-03 17:32:05 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2015-05-04 13:03:49 +0100 |
commit | bdcb1a2cf553166edec0509f4bf3cd36fc964024 (patch) | |
tree | 74df1971edbcdcfc448128d33ace8583eb10ff8b /test/gost2814789test.c | |
parent | 59ef580a14a526f6dd8d86b632d67022976fabcd (diff) | |
download | openssl-bdcb1a2cf553166edec0509f4bf3cd36fc964024.tar.gz |
more OSSL_NELEM cases
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'test/gost2814789test.c')
-rw-r--r-- | test/gost2814789test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/gost2814789test.c b/test/gost2814789test.c index 8384d66bd0..4569249e9a 100644 --- a/test/gost2814789test.c +++ b/test/gost2814789test.c @@ -26,6 +26,7 @@ int main(int argc, char *argv[]) # include <openssl/evp.h> # include <openssl/hmac.h> # include <openssl/obj_mac.h> +# include "e_os.h" # define CCGOST_ID "gost" @@ -1311,7 +1312,7 @@ int main(int argc, char *argv[]) } /* Test cases */ - for (t = 0; t < sizeof(tcs) / sizeof(tcs[0]); t++) { + for (t = 0; t < OSSL_NELEM(tcs); t++) { if (NULL == tcs[t].szDerive) { continue; } |