From a11303a4ca8f04d4532f5f53a225beb7e489e6c5 Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Tue, 1 Jun 2010 20:24:52 -0700 Subject: [PATCH] make tfm default --- lib/hcrypto/rsa.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/lib/hcrypto/rsa.c b/lib/hcrypto/rsa.c index b4eb58ae5..9aee3bccf 100644 --- a/lib/hcrypto/rsa.c +++ b/lib/hcrypto/rsa.c @@ -392,12 +392,9 @@ RSA_null_method(void) return &rsa_null_method; } -extern const RSA_METHOD hc_rsa_imath_method; -#ifdef HAVE_GMP -static const RSA_METHOD *default_rsa_method = &hc_rsa_gmp_method; -#else -static const RSA_METHOD *default_rsa_method = &hc_rsa_imath_method; -#endif +extern const RSA_METHOD hc_rsa_tfm_method; + +static const RSA_METHOD *default_rsa_method = &hc_rsa_tfm_method; const RSA_METHOD * RSA_get_default_method(void)