/* ====================================================================
- * Copyright (c) 2000 The OpenSSL Project. All rights reserved.
+ * Copyright (c) 2001 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
/* Privately exposed (via eng_int.h) functions for adding and/or removing
* ENGINEs from the implementation table */
-int engine_table_register(ENGINE_TABLE **table, ENGINE_CLEANUP_CB cleanup,
+int engine_table_register(ENGINE_TABLE **table, ENGINE_CLEANUP_CB *cleanup,
ENGINE *e, const int *nids, int num_nids, int setdefault)
{
int ret = 0, added = 0;
#endif
{
ENGINE *ret = NULL;
- ENGINE_PILE tmplate, *fnd;
+ ENGINE_PILE tmplate, *fnd=NULL;
int initres, loop = 0;
/* If 'engine_ciphers' is NULL, then it's absolutely *sure* that no