errors()
public
See any remaining errors held in
queue.
Any errors you see here are
probably due to a bug in Ruby’s OpenSSL
implementation.
VALUE
ossl_get_errors(void)
{
VALUE ary;
long e;
ary = rb_ary_new();
while ((e = ERR_get_error()) != 0){
rb_ary_push(ary, rb_str_new2(ERR_error_string(e, NULL)));
}
return ary;
}