From a50dbb80fc16723c6e787c0195509f028c4ad78b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 7 May 2006 11:29:39 +0000 Subject: [PATCH] Default to use rsa-imath. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17494 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/des/rsa.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/des/rsa.c b/lib/des/rsa.c index 5670c6c01..f69438d06 100644 --- a/lib/des/rsa.c +++ b/lib/des/rsa.c @@ -255,7 +255,7 @@ null_rsa_finish(RSA *rsa) } static const RSA_METHOD rsa_null_method = { - "hx509 null RSA", + "hcrypto null RSA", null_rsa_public_encrypt, null_rsa_public_decrypt, null_rsa_private_encrypt, @@ -276,7 +276,8 @@ RSA_null_method(void) return &rsa_null_method; } -static const RSA_METHOD *default_rsa_method = &rsa_null_method; +extern const RSA_METHOD hc_rsa_imath_method; +static const RSA_METHOD *default_rsa_method = &hc_rsa_imath_method; const RSA_METHOD * RSA_get_default_method(void)