make update
[openssl.git] / crypto / engine / eng_table.c
index 4192144565fc28bf06e066c4180e3dc8b86c8140..c69a84a8bf4c26422dfc70504454016bef35852d 100644 (file)
@@ -1,5 +1,5 @@
 /* ====================================================================
- * 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
@@ -134,7 +134,7 @@ static int int_table_check(ENGINE_TABLE **t, int create)
 
 /* 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;
@@ -249,7 +249,7 @@ ENGINE *engine_table_select_tmp(ENGINE_TABLE **table, int nid, const char *f, in
 #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