diff options
author | George Kadianakis <desnacked@gmail.com> | 2011-11-24 22:59:01 +0100 |
---|---|---|
committer | George Kadianakis <desnacked@gmail.com> | 2011-11-24 22:59:01 +0100 |
commit | 94076d9e3b74ad1f6aee8a96f51eb4af5f5bdb64 (patch) | |
tree | c7bfbe7c9cd9fc6de220259ce84b966e712e48a7 /src/common/crypto.h | |
parent | 2ef68980a778666bcc9b3b492c4acbd7af27fc28 (diff) | |
download | tor-94076d9e3b74ad1f6aee8a96f51eb4af5f5bdb64.tar.gz tor-94076d9e3b74ad1f6aee8a96f51eb4af5f5bdb64.zip |
Move crypto_get_stored_dynamic_prime() to crypto.c
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r-- | src/common/crypto.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h index 8c99dd7a37..20298b3c49 100644 --- a/src/common/crypto.h +++ b/src/common/crypto.h @@ -95,9 +95,8 @@ int crypto_global_cleanup(void); crypto_pk_env_t *crypto_new_pk_env(void); void crypto_free_pk_env(crypto_pk_env_t *env); -void crypto_set_tls_dh_prime(int use_dynamic_primes, - BIGNUM *stored_dynamic_prime); -int router_store_dynamic_prime(const char *fname); +void crypto_set_tls_dh_prime(const char *dynamic_prime_fname); +int crypto_store_dynamic_prime(const char *fname); /* convenience function: wraps crypto_create_crypto_env, set_key, and init. */ crypto_cipher_env_t *crypto_create_init_cipher(const char *key, |