Create function of the form OBJ_bsearch_xxx() in bsearch typesafe macros
authorDr. Stephen Henson <steve@openssl.org>
Wed, 22 Oct 2008 15:43:01 +0000 (15:43 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 22 Oct 2008 15:43:01 +0000 (15:43 +0000)
commite19106f5fb7da7db15449a9a50f9be9047800757
tree0341d860168821112fb47ded07b1f761895c04cd
parentae7ec4c71de74fa52c5d89e32e28445c6602990d
Create function of the form OBJ_bsearch_xxx() in bsearch typesafe macros
with the appropriate parameters which calls OBJ_bsearch(). A compiler will
typically inline this.

This avoids the need for cmp_xxx variables and fixes unchecked const issues
with CHECKED_PTR_OF()
13 files changed:
crypto/asn1/a_strnid.c
crypto/asn1/ameth_lib.c
crypto/evp/evp_pbe.c
crypto/evp/pmeth_lib.c
crypto/objects/obj_dat.c
crypto/objects/obj_xref.c
crypto/objects/objects.h
crypto/x509/x509_vpm.c
crypto/x509v3/v3_lib.c
crypto/x509v3/v3_purp.c
ssl/s2_lib.c
ssl/s3_lib.c
ssl/ssl_locl.h