From 1b930fc27df2089de2f5cf9d41d7a64c56587a87 Mon Sep 17 00:00:00 2001 From: Kazuki Yamaguchi Date: Mon, 18 Apr 2016 23:26:27 +0900 Subject: drop OpenSSL 0.9.6/0.9.7 support --- ext/openssl/ossl_pkey.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'ext/openssl/ossl_pkey.h') diff --git a/ext/openssl/ossl_pkey.h b/ext/openssl/ossl_pkey.h index 6eb51a76bd..a1517bfca4 100644 --- a/ext/openssl/ossl_pkey.h +++ b/ext/openssl/ossl_pkey.h @@ -41,8 +41,6 @@ extern const rb_data_type_t ossl_evp_pkey_type; } while (0) void ossl_generate_cb(int, int, void *); -#define HAVE_BN_GENCB defined(HAVE_RSA_GENERATE_KEY_EX) || defined(HAVE_DH_GENERATE_PARAMETERS_EX) || defined(HAVE_DSA_GENERATE_PARAMETERS_EX) -#if HAVE_BN_GENCB struct ossl_generate_cb_arg { int yield; int stop; @@ -50,7 +48,6 @@ struct ossl_generate_cb_arg { }; int ossl_generate_cb_2(int p, int n, BN_GENCB *cb); void ossl_generate_cb_stop(void *ptr); -#endif VALUE ossl_pkey_new(EVP_PKEY *); VALUE ossl_pkey_new_from_file(VALUE); -- cgit v1.2.3