Skip to content

Commit ea0a112

Browse files
committed
[DOC] Remove duplicate doc
RDoc does not consider preprocessor conditionals, but equally uses both documents of `#if` and `#else` sides.
1 parent a11acb5 commit ea0a112

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

ext/openssl/ossl.c

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,15 +1179,12 @@ Init_openssl(void)
11791179
*/
11801180
rb_define_const(mOSSL, "OPENSSL_VERSION", rb_str_new2(OPENSSL_VERSION_TEXT));
11811181

1182-
#if !defined(LIBRESSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x10100000
11831182
/*
1184-
* Version of OpenSSL the ruby OpenSSL extension is running with
1185-
*/
1183+
* Version of OpenSSL the ruby OpenSSL extension is running with
1184+
*/
1185+
#if !defined(LIBRESSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x10100000
11861186
rb_define_const(mOSSL, "OPENSSL_LIBRARY_VERSION", rb_str_new2(OpenSSL_version(OPENSSL_VERSION)));
11871187
#else
1188-
/*
1189-
* Version of OpenSSL the ruby OpenSSL extension is running with
1190-
*/
11911188
rb_define_const(mOSSL, "OPENSSL_LIBRARY_VERSION", rb_str_new2(SSLeay_version(SSLEAY_VERSION)));
11921189
#endif
11931190

0 commit comments

Comments
 (0)