ruby-changes:19218
From: drbrain <ko1@a...>
Date: Mon, 11 Apr 2011 07:25:04 +0900 (JST)
Subject: [ruby-changes:19218] Ruby:r31257 (trunk): * ext/openssl/ossl.c: Fix typo, document version constants.
drbrain 2011-04-11 07:24:51 +0900 (Mon, 11 Apr 2011) New Revision: 31257 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31257 Log: * ext/openssl/ossl.c: Fix typo, document version constants. Modified files: trunk/ChangeLog trunk/ext/openssl/ossl.c Index: ChangeLog =================================================================== --- ChangeLog (revision 31256) +++ ChangeLog (revision 31257) @@ -1,3 +1,7 @@ +Mon Apr 11 07:24:13 2011 Eric Hodel <drbrain@s...> + + * ext/openssl/ossl.c: Fix typo, document version constants. + Sun Apr 10 22:23:45 2011 Tanaka Akira <akr@f...> * include/ruby/ruby.h: parenthesize macro arguments. Index: ext/openssl/ossl.c =================================================================== --- ext/openssl/ossl.c (revision 31256) +++ ext/openssl/ossl.c (revision 31257) @@ -758,7 +758,7 @@ * === Peer Verification * * An unverified SSL connection does not provide much security. For enhanced - * security the client or server can verify the certificate the of its peer. + * security the client or server can verify the certificate of its peer. * * The client can be modified to verify the server's certificate against the * certificate authority's certificate: @@ -819,10 +819,18 @@ mOSSL = rb_define_module("OpenSSL"); /* - * Constants + * OpenSSL ruby extension version */ rb_define_const(mOSSL, "VERSION", rb_str_new2(OSSL_VERSION)); + + /* + * Version of OpenSSL the ruby OpenSSL extension was built with + */ rb_define_const(mOSSL, "OPENSSL_VERSION", rb_str_new2(OPENSSL_VERSION_TEXT)); + /* + * Version number of OpenSSL the ruby OpenSSL extension was built with + * (base 16) + */ rb_define_const(mOSSL, "OPENSSL_VERSION_NUMBER", INT2NUM(OPENSSL_VERSION_NUMBER)); /* -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/