Method: OpenSSL.errors
- Defined in:
- ext/openssl/ossl.c
.errors ⇒ Array
See any remaining errors held in queue.
Any errors you see here are probably due to a bug in ruby’s OpenSSL implementation.
336 337 338 339 340 341 342 343 344 345 346 347 348 |
# File 'ext/openssl/ossl.c', line 336 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; } |