The ampersand is not required in these constructs, and was giving AIX
warnings. Reported by: Bernhard Simon.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user