The ampersand is not required in these constructs, and was giving AIX
[openssl.git] / crypto / engine / tb_cipher.c
index 2716ed7a50fca35edc1a5891848cec50c763eee9..50b3cec1fa598cc1c62cc239266e98bbd5aa568a 100644 (file)
@@ -68,7 +68,7 @@ void ENGINE_unregister_ciphers(ENGINE *e)
        engine_table_unregister(&cipher_table, e);
        }
 
-static void engine_unregister_all_ciphers()
+static void engine_unregister_all_ciphers(void)
        {
        engine_table_cleanup(&cipher_table);
        }
@@ -81,7 +81,7 @@ int ENGINE_register_ciphers(ENGINE *e)
                int num_nids = e->ciphers(e, NULL, &nids, 0);
                if(num_nids > 0)
                        return engine_table_register(&cipher_table,
-                                       &engine_unregister_all_ciphers, e, nids,
+                                       engine_unregister_all_ciphers, e, nids,
                                        num_nids, 0);
                }
        return 1;
@@ -103,7 +103,7 @@ int ENGINE_set_default_ciphers(ENGINE *e)
                int num_nids = e->ciphers(e, NULL, &nids, 0);
                if(num_nids > 0)
                        return engine_table_register(&cipher_table,
-                                       &engine_unregister_all_ciphers, e, nids,
+                                       engine_unregister_all_ciphers, e, nids,
                                        num_nids, 1);
                }
        return 1;