diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2016-04-18 23:26:27 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-04-21 00:46:34 +0900 |
commit | 1b930fc27df2089de2f5cf9d41d7a64c56587a87 (patch) | |
tree | 402edd69b81c6fe309dc982735f877bfa5ff5707 /ext/openssl/ossl_cipher.c | |
parent | 0c1e707d0072df557020d3936cca666ab00fd79c (diff) | |
download | ruby-1b930fc27df2089de2f5cf9d41d7a64c56587a87.tar.gz |
drop OpenSSL 0.9.6/0.9.7 supportfeature/openssl-110-old
Diffstat (limited to 'ext/openssl/ossl_cipher.c')
-rw-r--r-- | ext/openssl/ossl_cipher.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ext/openssl/ossl_cipher.c b/ext/openssl/ossl_cipher.c index c9fcb6bdbd..56478a2133 100644 --- a/ext/openssl/ossl_cipher.c +++ b/ext/openssl/ossl_cipher.c @@ -154,7 +154,6 @@ ossl_cipher_copy(VALUE self, VALUE other) return self; } -#ifdef HAVE_OBJ_NAME_DO_ALL_SORTED static void* add_cipher_name_to_ary(const OBJ_NAME *name, VALUE ary) { @@ -180,9 +179,6 @@ ossl_s_ciphers(VALUE self) return ary; } -#else -#define ossl_s_ciphers rb_f_notimplement -#endif /* * call-seq: @@ -713,7 +709,6 @@ ossl_cipher_set_key_length(VALUE self, VALUE key_length) return key_length; } -#if defined(HAVE_EVP_CIPHER_CTX_SET_PADDING) /* * call-seq: * cipher.padding = integer -> integer @@ -735,9 +730,6 @@ ossl_cipher_set_padding(VALUE self, VALUE padding) ossl_raise(eCipherError, NULL); return padding; } -#else -#define ossl_cipher_set_padding rb_f_notimplement -#endif #define CIPHER_0ARG_INT(func) \ static VALUE \ |