From 4f244609f3cf32ae2ab17069f0e267eb59f05f04 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Fri, 3 Jan 2014 16:02:48 +0100 Subject: Update build script to include revision, update openvpn code, remove openssl compat (disables export ciphers) --- openvpn/src/compat/compat-rsa_generate_key.c | 49 ---------------------------- 1 file changed, 49 deletions(-) delete mode 100644 openvpn/src/compat/compat-rsa_generate_key.c (limited to 'openvpn/src/compat') diff --git a/openvpn/src/compat/compat-rsa_generate_key.c b/openvpn/src/compat/compat-rsa_generate_key.c deleted file mode 100644 index 87dd1ccb..00000000 --- a/openvpn/src/compat/compat-rsa_generate_key.c +++ /dev/null @@ -1,49 +0,0 @@ -#include -#include -#include "cryptlib.h" -#include -#include - -#ifdef ENABLE_CRYPTO_OPENSSL -RSA *RSA_generate_key(int bits, unsigned long e_value, - void (*callback)(int,int,void *), void *cb_arg) -{ - BN_GENCB cb; - int i; - RSA *rsa = RSA_new(); - BIGNUM *e = BN_new(); - - if(!rsa || !e) goto err; - - /* The problem is when building with 8, 16, or 32 BN_ULONG, - * unsigned long can be larger */ - for (i=0; i<(int)sizeof(unsigned long)*8; i++) - { - if (e_value & (1UL<