10 #if !defined(_OSSL_SSL_H_) 13 #define GetSSL(obj, ssl) do { \ 14 TypedData_Get_Struct((obj), SSL, &ossl_ssl_type, (ssl)); \ 16 ossl_raise(rb_eRuntimeError, "SSL is not initialized"); \ 20 #define GetSSLSession(obj, sess) do { \ 21 TypedData_Get_Struct((obj), SSL_SESSION, &ossl_ssl_session_type, (sess)); \ 23 ossl_raise(rb_eRuntimeError, "SSL Session wasn't initialized."); \
const rb_data_type_t ossl_ssl_session_type
void Init_ossl_ssl_session(void)
const rb_data_type_t ossl_ssl_type