summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ex_data.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ex_data.c')
-rw-r--r--src/lib/libcrypto/ex_data.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libcrypto/ex_data.c b/src/lib/libcrypto/ex_data.c
index 4c09f9ee02..0b27d57b45 100644
--- a/src/lib/libcrypto/ex_data.c
+++ b/src/lib/libcrypto/ex_data.c
@@ -211,8 +211,8 @@ impl_check(void)
211#define IMPL_CHECK if(!impl) impl_check(); 211#define IMPL_CHECK if(!impl) impl_check();
212 212
213/* API functions to get/set the "ex_data" implementation */ 213/* API functions to get/set the "ex_data" implementation */
214const CRYPTO_EX_DATA_IMPL 214const CRYPTO_EX_DATA_IMPL *
215*CRYPTO_get_ex_data_implementation(void) 215CRYPTO_get_ex_data_implementation(void)
216{ 216{
217 IMPL_CHECK 217 IMPL_CHECK
218 return impl; 218 return impl;
@@ -306,8 +306,8 @@ def_cleanup_cb(void *a_void)
306 306
307/* Return the EX_CLASS_ITEM from the "ex_data" hash table that corresponds to a 307/* Return the EX_CLASS_ITEM from the "ex_data" hash table that corresponds to a
308 * given class. Handles locking. */ 308 * given class. Handles locking. */
309static EX_CLASS_ITEM 309static EX_CLASS_ITEM *
310*def_get_class(int class_index) 310def_get_class(int class_index)
311{ 311{
312 EX_CLASS_ITEM d, *p, *gen; 312 EX_CLASS_ITEM d, *p, *gen;
313 EX_DATA_CHECK(return NULL;) 313 EX_DATA_CHECK(return NULL;)
@@ -622,8 +622,8 @@ CRYPTO_set_ex_data(CRYPTO_EX_DATA *ad, int idx, void *val)
622 622
623/* For a given CRYPTO_EX_DATA_ variable, get the value corresponding to a 623/* For a given CRYPTO_EX_DATA_ variable, get the value corresponding to a
624 * particular index in the class used by this variable */ 624 * particular index in the class used by this variable */
625void 625void *
626*CRYPTO_get_ex_data(const CRYPTO_EX_DATA *ad, int idx) 626CRYPTO_get_ex_data(const CRYPTO_EX_DATA *ad, int idx)
627{ 627{
628 if (ad->sk == NULL) 628 if (ad->sk == NULL)
629 return (0); 629 return (0);