Add OSSL_NELEM macro.
authorDr. Stephen Henson <steve@openssl.org>
Sat, 2 May 2015 17:30:00 +0000 (18:30 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 3 May 2015 11:53:08 +0000 (12:53 +0100)
commitb6eb9827a6866981c08cc9613ca8b4a648894fb1
treec5a6351461d8be964bc1f31fa2e34c4ebb7cfafd
parent31ff45aa975acb43f1da20e714eadf4649655714
Add OSSL_NELEM macro.

Add OSSL_NELEM macro to e_os.h to determine the number of elements in an
array.

Reviewed-by: Tim Hudson <tjh@openssl.org>
24 files changed:
crypto/asn1/a_strnid.c
crypto/asn1/ameth_lib.c
crypto/asn1/asn1_gen.c
crypto/bio/bss_file.c
crypto/bn/bn_dh.c
crypto/bn/bn_gf2m.c
crypto/bn/bn_nist.c
crypto/bn/bn_srp.c
crypto/ec/ec_curve.c
crypto/evp/evp_pbe.c
crypto/objects/obj_xref.c
crypto/rand/rand_unix.c
crypto/ts/ts_rsp_print.c
crypto/ts/ts_rsp_verify.c
crypto/x509/x509_trs.c
crypto/x509/x509_vpm.c
crypto/x509v3/tabtest.c
crypto/x509v3/v3_purp.c
e_os.h
ssl/s3_lib.c
ssl/ssl_ciph.c
ssl/ssl_conf.c
ssl/t1_lib.c
ssl/t1_trce.c