The ampersand is not required in these constructs, and was giving AIX

warnings.

Reported by: Bernhard Simon.
This commit is contained in:
Geoff Thorpe
2002-12-15 16:45:28 +00:00
parent 21996c6d8e
commit 8d2563f136
6 changed files with 12 additions and 12 deletions

View 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;