Correct serious bug in AES-CBC decryption when the message length isn't
[openssl.git] / crypto / engine / tb_dh.c
index c934723..e290e17 100644 (file)
@@ -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;
        }