diff options
author | Rich Salz <rsalz@openssl.org> | 2015-02-02 11:40:36 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-02-02 11:40:36 -0500 |
commit | f16a64d11f55c01f56baa62ebf1dec7f8fe718cb (patch) | |
tree | 3efe2e6d60681f6d582efdfc2f4474492b2ed048 /crypto/engine/eng_list.c | |
parent | 9ccc00ef6ea65567622e40c49aca43f2c6d79cdb (diff) | |
download | openssl-f16a64d11f55c01f56baa62ebf1dec7f8fe718cb.tar.gz |
Dead code cleanup; remove #if 0 from crypto/engine
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/engine/eng_list.c')
-rw-r--r-- | crypto/engine/eng_list.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/crypto/engine/eng_list.c b/crypto/engine/eng_list.c index 3384e31828..c69e8a7eda 100644 --- a/crypto/engine/eng_list.c +++ b/crypto/engine/eng_list.c @@ -353,14 +353,6 @@ ENGINE *ENGINE_by_id(const char *id) } } CRYPTO_w_unlock(CRYPTO_LOCK_ENGINE); -#if 0 - if (iterator == NULL) { - ENGINEerr(ENGINE_F_ENGINE_BY_ID, ENGINE_R_NO_SUCH_ENGINE); - ERR_add_error_data(2, "id=", id); - } - return iterator; -#else - /* EEK! Experimental code starts */ if (iterator) return iterator; /* @@ -390,7 +382,6 @@ ENGINE *ENGINE_by_id(const char *id) ERR_add_error_data(2, "id=", id); return NULL; /* EEK! Experimental code ends */ -#endif } int ENGINE_up_ref(ENGINE *e) |