diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2007-09-07 13:25:15 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2007-09-07 13:25:15 +0000 |
commit | a6fbcb42209e2818c3d479da07aa71a7c1b2dd1a (patch) | |
tree | 01e8f25a0e28a70b861cec21bafb92e1deb6d91a /crypto/engine | |
parent | 8164032a2e34ac236775cfcf6301d7c74534bbe4 (diff) |
Change safestack reimplementation to match 0.9.8.
Fix additional gcc 4.2 value not used warnings.
Diffstat (limited to 'crypto/engine')
-rw-r--r-- | crypto/engine/eng_table.c | 4 |
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; } |