diff options
author | Rich Salz <rsalz@openssl.org> | 2016-05-20 10:46:29 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-05-20 10:48:29 -0400 |
commit | 739a1eb1961cdc3b1597a040766f3cb359d095f6 (patch) | |
tree | da90e8dd33e1aa605351b529713901bb1b0f37b8 /apps | |
parent | 06593767b21d4ebacc3e6ecc8daedd9d5c5f9f97 (diff) | |
download | openssl-739a1eb1961cdc3b1597a040766f3cb359d095f6.tar.gz |
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 'apps')
-rw-r--r-- | apps/apps.c | 4 | ||||
-rw-r--r-- | apps/openssl.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/apps.c b/apps/apps.c index 37f423b909..5db4b22b3a 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -1283,7 +1283,7 @@ static unsigned long index_serial_hash(const OPENSSL_CSTRING *a) n = a[DB_serial]; while (*n == '0') n++; - return (lh_strhash(n)); + return OPENSSL_LH_strhash(n); } static int index_serial_cmp(const OPENSSL_CSTRING *a, @@ -1303,7 +1303,7 @@ static int index_name_qual(char **a) static unsigned long index_name_hash(const OPENSSL_CSTRING *a) { - return (lh_strhash(a[DB_name])); + return OPENSSL_LH_strhash(a[DB_name]); } int index_name_cmp(const OPENSSL_CSTRING *a, const OPENSSL_CSTRING *b) diff --git a/apps/openssl.c b/apps/openssl.c index e55401036c..f06927778a 100644 --- a/apps/openssl.c +++ b/apps/openssl.c @@ -525,7 +525,7 @@ static int function_cmp(const FUNCTION * a, const FUNCTION * b) static unsigned long function_hash(const FUNCTION * a) { - return lh_strhash(a->name); + return OPENSSL_LH_strhash(a->name); } static int SortFnByName(const void *_f1, const void *_f2) |