mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/openssl/ossl_{ec,dh,dsa,rsa}.c: Remove useless warnings.
* ext/openssl/ossl_asn1.c: Simplify code. * ext/openssl/ossl_ssl_session.c Fix compiler warnings. Undefine #id if SSL_SESSION_get_id is not supported. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
43b1b0e16a
commit
161b45f59c
7 changed files with 26 additions and 33 deletions
|
@ -585,11 +585,9 @@ Init_ossl_rsa()
|
|||
}
|
||||
|
||||
#else /* defined NO_RSA */
|
||||
# warning >>> OpenSSL is compiled without RSA support <<<
|
||||
void
|
||||
Init_ossl_rsa()
|
||||
{
|
||||
rb_warning("OpenSSL is compiled without RSA support");
|
||||
}
|
||||
#endif /* NO_RSA */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue