Skip to content

Commit 728dc91

Browse files
authored
Fixes OPENSSL_LIBRARY_VERSION description on documentation (#559)
Adds back missing constant description on the documentation.
1 parent c1639f1 commit 728dc91

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

ext/openssl/ossl.c

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)