The ampersand is not required in these constructs, and was giving AIX
authorGeoff Thorpe <geoff@openssl.org>
Sun, 15 Dec 2002 16:45:28 +0000 (16:45 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Sun, 15 Dec 2002 16:45:28 +0000 (16:45 +0000)
warnings.

Reported by: Bernhard Simon.

crypto/engine/tb_cipher.c
crypto/engine/tb_dh.c
crypto/engine/tb_digest.c
crypto/engine/tb_dsa.c
crypto/engine/tb_rand.c
crypto/engine/tb_rsa.c

index c5a50fc91026ecb85b72d759dce32adabf5c9fb6..50b3cec1fa598cc1c62cc239266e98bbd5aa568a 100644 (file)
@@ -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;
index c9347235ead4fdb89e190e98ac29e99cf24f5d0e..e290e1702b279eda73188970c090c5843848418a 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;
        }
 
index 2c4dd6f796f917f24019fac2583d0b21ed87f9d6..e82d2a17c9c3cb33a3a212435fe0e981f489e9cb 100644 (file)
@@ -81,7 +81,7 @@ int ENGINE_register_digests(ENGINE *e)
                int num_nids = e->digests(e, NULL, &nids, 0);
                if(num_nids > 0)
                        return engine_table_register(&digest_table,
-                                       &engine_unregister_all_digests, e, nids,
+                                       engine_unregister_all_digests, e, nids,
                                        num_nids, 0);
                }
        return 1;
@@ -103,7 +103,7 @@ int ENGINE_set_default_digests(ENGINE *e)
                int num_nids = e->digests(e, NULL, &nids, 0);
                if(num_nids > 0)
                        return engine_table_register(&digest_table,
-                                       &engine_unregister_all_digests, e, nids,
+                                       engine_unregister_all_digests, e, nids,
                                        num_nids, 1);
                }
        return 1;
index e9209476b830932cf2473393989cef32d2028888..80170591f201a0bf70f1728112bc21e0c827d5b1 100644 (file)
@@ -78,7 +78,7 @@ int ENGINE_register_DSA(ENGINE *e)
        {
        if(e->dsa_meth)
                return engine_table_register(&dsa_table,
-                               &engine_unregister_all_DSA, e, &dummy_nid, 1, 0);
+                               engine_unregister_all_DSA, e, &dummy_nid, 1, 0);
        return 1;
        }
 
@@ -94,7 +94,7 @@ int ENGINE_set_default_DSA(ENGINE *e)
        {
        if(e->dsa_meth)
                return engine_table_register(&dsa_table,
-                               &engine_unregister_all_DSA, e, &dummy_nid, 1, 0);
+                               engine_unregister_all_DSA, e, &dummy_nid, 1, 0);
        return 1;
        }
 
index 0b1d031f1eca229ea7f733bdad3bef9fa47be49d..69b67111bc64d12ebff16632763785993ceebc56 100644 (file)
@@ -78,7 +78,7 @@ int ENGINE_register_RAND(ENGINE *e)
        {
        if(e->rand_meth)
                return engine_table_register(&rand_table,
-                               &engine_unregister_all_RAND, e, &dummy_nid, 1, 0);
+                               engine_unregister_all_RAND, e, &dummy_nid, 1, 0);
        return 1;
        }
 
@@ -94,7 +94,7 @@ int ENGINE_set_default_RAND(ENGINE *e)
        {
        if(e->rand_meth)
                return engine_table_register(&rand_table,
-                               &engine_unregister_all_RAND, e, &dummy_nid, 1, 1);
+                               engine_unregister_all_RAND, e, &dummy_nid, 1, 1);
        return 1;
        }
 
index f84fea3968c165917299d7c7a938f57b69cafb6f..fee4867f5209e0f7f3be81804f038dce03b91148 100644 (file)
@@ -78,7 +78,7 @@ int ENGINE_register_RSA(ENGINE *e)
        {
        if(e->rsa_meth)
                return engine_table_register(&rsa_table,
-                               &engine_unregister_all_RSA, e, &dummy_nid, 1, 0);
+                               engine_unregister_all_RSA, e, &dummy_nid, 1, 0);
        return 1;
        }
 
@@ -94,7 +94,7 @@ int ENGINE_set_default_RSA(ENGINE *e)
        {
        if(e->rsa_meth)
                return engine_table_register(&rsa_table,
-                               &engine_unregister_all_RSA, e, &dummy_nid, 1, 1);
+                               engine_unregister_all_RSA, e, &dummy_nid, 1, 1);
        return 1;
        }