The ampersand is not required in these constructs, and was giving AIX
authorGeoff Thorpe <geoff@openssl.org>
Fri, 13 Dec 2002 22:01:46 +0000 (22:01 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Fri, 13 Dec 2002 22:01:46 +0000 (22:01 +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_ecdh.c
crypto/engine/tb_ecdsa.c
crypto/engine/tb_rand.c
crypto/engine/tb_rsa.c

index c5a50fc..50b3cec 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 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;
        }
 
index 2c4dd6f..e82d2a1 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 e920947..8017059 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 ea82b61..f40eb00 100644 (file)
@@ -93,7 +93,7 @@ int ENGINE_register_ECDH(ENGINE *e)
        {
        if(e->ecdh_meth)
                return engine_table_register(&ecdh_table,
-                               &engine_unregister_all_ECDH, e, &dummy_nid, 1, 0);
+                               engine_unregister_all_ECDH, e, &dummy_nid, 1, 0);
        return 1;
        }
 
@@ -109,7 +109,7 @@ int ENGINE_set_default_ECDH(ENGINE *e)
        {
        if(e->ecdh_meth)
                return engine_table_register(&ecdh_table,
-                               &engine_unregister_all_ECDH, e, &dummy_nid, 1, 0);
+                               engine_unregister_all_ECDH, e, &dummy_nid, 1, 0);
        return 1;
        }
 
index 5860fca..76deefc 100644 (file)
@@ -78,7 +78,7 @@ int ENGINE_register_ECDSA(ENGINE *e)
        {
        if(e->ecdsa_meth)
                return engine_table_register(&ecdsa_table,
-                               &engine_unregister_all_ECDSA, e, &dummy_nid, 1, 0);
+                               engine_unregister_all_ECDSA, e, &dummy_nid, 1, 0);
        return 1;
        }
 
@@ -94,7 +94,7 @@ int ENGINE_set_default_ECDSA(ENGINE *e)
        {
        if(e->ecdsa_meth)
                return engine_table_register(&ecdsa_table,
-                               &engine_unregister_all_ECDSA, e, &dummy_nid, 1, 0);
+                               engine_unregister_all_ECDSA, e, &dummy_nid, 1, 0);
        return 1;
        }
 
index 0b1d031..69b6711 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 f84fea3..fee4867 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;
        }