aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@gmail.com>2011-11-24 22:32:10 +0100
committerGeorge Kadianakis <desnacked@gmail.com>2011-11-24 22:32:10 +0100
commit2ef68980a778666bcc9b3b492c4acbd7af27fc28 (patch)
tree8331554dd3964726504e2a165c9113e512d72047 /src/common/crypto.h
parentcabb8e54c7240aeb20ccfa745d75c5ad4063edb3 (diff)
downloadtor-2ef68980a778666bcc9b3b492c4acbd7af27fc28.tar
tor-2ef68980a778666bcc9b3b492c4acbd7af27fc28.tar.gz
Move store_dynamic_prime() to crypto.c.
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r--src/common/crypto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h
index 5b753b83d..8c99dd7a3 100644
--- a/src/common/crypto.h
+++ b/src/common/crypto.h
@@ -97,7 +97,7 @@ void crypto_free_pk_env(crypto_pk_env_t *env);
void crypto_set_tls_dh_prime(int use_dynamic_primes,
BIGNUM *stored_dynamic_prime);
-BIGNUM * crypto_get_tls_dh_prime(void);
+int router_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,