diff options
author | Richard Levitte <levitte@openssl.org> | 2002-04-17 07:53:56 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-04-17 07:53:56 +0000 |
commit | d2f64ef7253db1f81c6447f040b6708e6b5f8dc2 (patch) | |
tree | 023aedf849b532a6eb1cc19cc566093cf9f6b79d | |
parent | 842931098fb4b9811acde683cb3b4d9a9de25143 (diff) |
surewarehk_dh_ex_free() isn't used, so do not compile it.
-rw-r--r-- | crypto/engine/hw_sureware.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/engine/hw_sureware.c b/crypto/engine/hw_sureware.c index 72e881d342..a678b94255 100644 --- a/crypto/engine/hw_sureware.c +++ b/crypto/engine/hw_sureware.c @@ -92,8 +92,10 @@ static EVP_PKEY *surewarehk_load_pubkey(const char *key_id, const char *passphrase); static void surewarehk_ex_free(void *obj, void *item, CRYPTO_EX_DATA *ad, int index,long argl, void *argp); +#if 0 static void surewarehk_dh_ex_free(void *obj, void *item, CRYPTO_EX_DATA *ad, int index,long argl, void *argp); +#endif /* This function is aliased to mod_exp (with the mont stuff dropped). */ static int surewarehk_mod_exp_mont(BIGNUM *r, BIGNUM *a, const BIGNUM *p, @@ -717,6 +719,8 @@ static void surewarehk_ex_free(void *obj, void *item, CRYPTO_EX_DATA *ad, else p_surewarehk_Free((char *)item,0); } + +#if 0 /* 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, @@ -729,6 +733,8 @@ static void surewarehk_dh_ex_free(void *obj, void *item, CRYPTO_EX_DATA *ad, else p_surewarehk_Free((char *)item,1); } +#endif + /* * return number of decrypted bytes */ |