From 47c0ef65cd553864ff236b5e4cd37e4ac8188690 Mon Sep 17 00:00:00 2001 From: Kazuki Yamaguchi Date: Sun, 4 Sep 2016 16:10:02 +0900 Subject: ssl: avoid using ossl_exc_new() Avoid using ossl_exc_new() and rb_exc_raise() but just use ossl_raise(). This simplifies the code with the exactly same effect. ossl_exc_new() is now removed as it is no longer used anywhere. --- ext/openssl/ossl.h | 1 - 1 file changed, 1 deletion(-) (limited to 'ext/openssl/ossl.h') diff --git a/ext/openssl/ossl.h b/ext/openssl/ossl.h index 0400a33d..7172e39a 100644 --- a/ext/openssl/ossl.h +++ b/ext/openssl/ossl.h @@ -138,7 +138,6 @@ int ossl_pem_passwd_cb(char *, int, int, void *); */ #define OSSL_ErrMsg() ERR_reason_error_string(ERR_get_error()) NORETURN(void ossl_raise(VALUE, const char *, ...)); -VALUE ossl_exc_new(VALUE, const char *, ...); /* Clear OpenSSL error queue. If dOSSL is set, rb_warn() them. */ void ossl_clear_error(void); -- cgit v1.2.3