diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-12-13 19:47:26 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-12-13 19:47:26 +0900 |
commit | ea0a112a0c6a0498629e778af7991c9b4e349565 (patch) | |
tree | d448df3b2488368fb374f625a65554a138280d69 /ext/openssl/ossl.c | |
parent | a11acb518dce6a962814b238dffdb69b799f77f8 (diff) | |
download | ruby-openssl-ea0a112a0c6a0498629e778af7991c9b4e349565.tar.gz |
[DOC] Remove duplicate doc
RDoc does not consider preprocessor conditionals, but equally uses
both documents of `#if` and `#else` sides.
Diffstat (limited to 'ext/openssl/ossl.c')
-rw-r--r-- | ext/openssl/ossl.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/ext/openssl/ossl.c b/ext/openssl/ossl.c index 72573f27..6c532aca 100644 --- a/ext/openssl/ossl.c +++ b/ext/openssl/ossl.c @@ -1179,15 +1179,12 @@ Init_openssl(void) */ rb_define_const(mOSSL, "OPENSSL_VERSION", rb_str_new2(OPENSSL_VERSION_TEXT)); -#if !defined(LIBRESSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x10100000 /* - * Version of OpenSSL the ruby OpenSSL extension is running with - */ + * Version of OpenSSL the ruby OpenSSL extension is running with + */ +#if !defined(LIBRESSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x10100000 rb_define_const(mOSSL, "OPENSSL_LIBRARY_VERSION", rb_str_new2(OpenSSL_version(OPENSSL_VERSION))); #else - /* - * Version of OpenSSL the ruby OpenSSL extension is running with - */ rb_define_const(mOSSL, "OPENSSL_LIBRARY_VERSION", rb_str_new2(SSLeay_version(SSLEAY_VERSION))); #endif |