aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/engine/eng_table.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2007-09-07 13:25:15 +0000
committerDr. Stephen Henson <steve@openssl.org>2007-09-07 13:25:15 +0000
commita6fbcb42209e2818c3d479da07aa71a7c1b2dd1a (patch)
tree01e8f25a0e28a70b861cec21bafb92e1deb6d91a /crypto/engine/eng_table.c
parent8164032a2e34ac236775cfcf6301d7c74534bbe4 (diff)
downloadopenssl-a6fbcb42209e2818c3d479da07aa71a7c1b2dd1a.tar.gz
Change safestack reimplementation to match 0.9.8.
Fix additional gcc 4.2 value not used warnings.
Diffstat (limited to 'crypto/engine/eng_table.c')
-rw-r--r--crypto/engine/eng_table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/engine/eng_table.c b/crypto/engine/eng_table.c
index a83c3899ee..0c1656168d 100644
--- a/crypto/engine/eng_table.c
+++ b/crypto/engine/eng_table.c
@@ -147,7 +147,7 @@ int engine_table_register(ENGINE_TABLE **table, ENGINE_CLEANUP_CB *cleanup,
lh_insert(&(*table)->piles, fnd);
}
/* A registration shouldn't add duplciate entries */
- sk_ENGINE_delete_ptr(fnd->sk, e);
+ (void)sk_ENGINE_delete_ptr(fnd->sk, e);
/* if 'setdefault', this ENGINE goes to the head of the list */
if(!sk_ENGINE_push(fnd->sk, e))
goto end;
@@ -178,7 +178,7 @@ static void int_unregister_cb(ENGINE_PILE *pile, ENGINE *e)
/* Iterate the 'c->sk' stack removing any occurance of 'e' */
while((n = sk_ENGINE_find(pile->sk, e)) >= 0)
{
- sk_ENGINE_delete(pile->sk, n);
+ (void)sk_ENGINE_delete(pile->sk, n);
/* "touch" this ENGINE_CIPHER */
pile->uptodate = 1;
}