File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -1179,12 +1179,15 @@ Init_openssl(void)
11791179 */
11801180 rb_define_const (mOSSL , "OPENSSL_VERSION" , rb_str_new2 (OPENSSL_VERSION_TEXT ));
11811181
1182- /*
1183- * Version of OpenSSL the ruby OpenSSL extension is running with
1184- */
11851182#if !defined(LIBRESSL_VERSION_NUMBER ) && OPENSSL_VERSION_NUMBER >= 0x10100000
1183+ /*
1184+ * Version of OpenSSL the ruby OpenSSL extension is running with
1185+ */
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+ */
11881191 rb_define_const (mOSSL , "OPENSSL_LIBRARY_VERSION" , rb_str_new2 (SSLeay_version (SSLEAY_VERSION )));
11891192#endif
11901193
You can’t perform that action at this time.
0 commit comments