mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/openssl/ossl.c: Fix typo, document version constants.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4db93c3f41
commit
091ea0ed71
2 changed files with 14 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
Mon Apr 11 07:24:13 2011 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* ext/openssl/ossl.c: Fix typo, document version constants.
|
||||
|
||||
Sun Apr 10 22:23:45 2011 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* include/ruby/ruby.h: parenthesize macro arguments.
|
||||
|
|
|
@ -758,7 +758,7 @@ ossl_debug_set(VALUE self, VALUE val)
|
|||
* === 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 @@ Init_openssl()
|
|||
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));
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue