diff options
author | Rich Salz <rsalz@openssl.org> | 2016-05-20 16:46:29 +0200 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-05-20 16:48:29 +0200 |
commit | 739a1eb1961cdc3b1597a040766f3cb359d095f6 (patch) | |
tree | da90e8dd33e1aa605351b529713901bb1b0f37b8 /crypto/objects/obj_dat.c | |
parent | Clean up the VMS hacks in crypto/rand/randfile.c (diff) | |
download | openssl-739a1eb1961cdc3b1597a040766f3cb359d095f6.tar.xz openssl-739a1eb1961cdc3b1597a040766f3cb359d095f6.zip |
Rename lh_xxx,sk_xxx tp OPENSSL_{LH,SK}_xxx
Rename sk_xxx to OPENSSL_sk_xxx and _STACK to OPENSSL_STACK
Rename lh_xxx API to OPENSSL_LH_xxx and LHASH_NODE to OPENSSL_LH_NODE
Make lhash stuff opaque.
Use typedefs for function pointers; makes the code simpler.
Remove CHECKED_xxx macros.
Add documentation; remove old X509-oriented doc.
Add API-compat names for entire old API
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
Diffstat (limited to 'crypto/objects/obj_dat.c')
-rw-r--r-- | crypto/objects/obj_dat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/objects/obj_dat.c b/crypto/objects/obj_dat.c index 3b836fe6a5..46f98cb0ff 100644 --- a/crypto/objects/obj_dat.c +++ b/crypto/objects/obj_dat.c @@ -68,10 +68,10 @@ static unsigned long added_obj_hash(const ADDED_OBJ *ca) ret ^= p[i] << ((i * 3) % 24); break; case ADDED_SNAME: - ret = lh_strhash(a->sn); + ret = OPENSSL_LH_strhash(a->sn); break; case ADDED_LNAME: - ret = lh_strhash(a->ln); + ret = OPENSSL_LH_strhash(a->ln); break; case ADDED_NID: ret = a->nid; |