diff options
author | Rich Salz <rsalz@openssl.org> | 2015-01-30 13:24:35 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-01-30 13:24:35 -0500 |
commit | d6fbb194095312f4722c81c9362dbd0de66cb656 (patch) | |
tree | 51e11b1fbd8dbe99da11742d27ae02d435078866 /engines/e_sureware.c | |
parent | 6f1a93ad111c7dfe36a09a976c4c009079b19ea1 (diff) |
Dead code removal #if 0 engines
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'engines/e_sureware.c')
-rw-r--r-- | engines/e_sureware.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/engines/e_sureware.c b/engines/e_sureware.c index aae568ab71..36f6f43104 100644 --- a/engines/e_sureware.c +++ b/engines/e_sureware.c @@ -111,10 +111,6 @@ static EVP_PKEY *surewarehk_load_pubkey(ENGINE *e, const char *key_id, void *callback_data); static void surewarehk_ex_free(void *obj, void *item, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp); -# if 0 -static void surewarehk_dh_ex_free(void *obj, void *item, CRYPTO_EX_DATA *ad, - int idx, long argl, void *argp); -# endif # ifndef OPENSSL_NO_RSA /* This function is aliased to mod_exp (with the mont stuff dropped). */ @@ -881,23 +877,6 @@ static void surewarehk_ex_free(void *obj, void *item, CRYPTO_EX_DATA *ad, p_surewarehk_Free((char *)item, 0); } -# if 0 -/* not currently used (bug?) */ -/* - * This cleans up an DH KM key (destroys the key into hardware), called when - * ex_data is freed - */ -static void surewarehk_dh_ex_free(void *obj, void *item, CRYPTO_EX_DATA *ad, - int idx, long argl, void *argp) -{ - if (!p_surewarehk_Free) { - SUREWAREerr(SUREWARE_F_SUREWAREHK_DH_EX_FREE, - ENGINE_R_NOT_INITIALISED); - } else - p_surewarehk_Free((char *)item, 1); -} -# endif - /* * return number of decrypted bytes */ |