From 80c7e473818aaeb7fb9171f571861d3445db5452 Mon Sep 17 00:00:00 2001 From: miod <> Date: Wed, 9 Jul 2014 08:44:53 +0000 Subject: RSA_NULL used to be a compile option allowing the RSA interfaces to be compiled-in, with nonfunctional code, to be able to cope with the RSA patent. However, we don't use this option, and the RSA patent has expired more than 10 years ago, so just drop this piece. --- src/lib/libcrypto/rsa/rsa_eay.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/lib/libcrypto/rsa/rsa_eay.c') diff --git a/src/lib/libcrypto/rsa/rsa_eay.c b/src/lib/libcrypto/rsa/rsa_eay.c index 7b294e761e..06bd8ded96 100644 --- a/src/lib/libcrypto/rsa/rsa_eay.c +++ b/src/lib/libcrypto/rsa/rsa_eay.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rsa_eay.c,v 1.29 2014/07/09 08:20:08 miod Exp $ */ +/* $OpenBSD: rsa_eay.c,v 1.30 2014/07/09 08:44:53 miod Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -115,8 +115,6 @@ #include #include -#ifndef RSA_NULL - static int RSA_eay_public_encrypt(int flen, const unsigned char *from, unsigned char *to, RSA *rsa,int padding); static int RSA_eay_private_encrypt(int flen, const unsigned char *from, @@ -906,5 +904,3 @@ RSA_eay_finish(RSA *rsa) BN_MONT_CTX_free(rsa->_method_mod_q); return 1; } - -#endif -- cgit v1.2.3-55-g6feb