Correct serious bug in AES-CBC decryption when the message length isn't
[openssl.git] / crypto / engine / tb_dh.c
index 977f9b9..e290e17 100644 (file)
@@ -69,7 +69,7 @@ void ENGINE_unregister_DH(ENGINE *e)
        engine_table_unregister(&dh_table, e);
        }
 
-static void engine_unregister_all_DH()
+static void engine_unregister_all_DH(void)
        {
        engine_table_cleanup(&dh_table);
        }
@@ -78,7 +78,7 @@ int ENGINE_register_DH(ENGINE *e)
        {
        if(e->dh_meth)
                return engine_table_register(&dh_table,
-                               &engine_unregister_all_DH, e, &dummy_nid, 1, 0);
+                               engine_unregister_all_DH, e, &dummy_nid, 1, 0);
        return 1;
        }
 
@@ -94,7 +94,7 @@ int ENGINE_set_default_DH(ENGINE *e)
        {
        if(e->dh_meth)
                return engine_table_register(&dh_table,
-                               &engine_unregister_all_DH, e, &dummy_nid, 1, 1);
+                               engine_unregister_all_DH, e, &dummy_nid, 1, 1);
        return 1;
        }