RubyModule mSSL = ossl.defineModuleUnder("SSL");
RubyClass openSSLError = ossl.getClass("OpenSSLError");
RubyClass sslError = mSSL.defineClassUnder("SSLError",openSSLError,openSSLError.getAllocator());
if (runtime.is1_9()) {
RubyClass sslErrorReadable = mSSL.defineClassUnder("SSLErrorReadable",sslError,openSSLError.getAllocator());
sslErrorReadable.include(new IRubyObject[]{runtime.getIO().getConstant("WaitReadable")});
RubyClass sslErrorWritable = mSSL.defineClassUnder("SSLErrorWritable",sslError,openSSLError.getAllocator());
sslErrorWritable.include(new IRubyObject[]{runtime.getIO().getConstant("WaitWritable")});
}
SSLContext.createSSLContext(runtime,mSSL);