5 // Created by Martin Baulig on 6/19/16.
6 // Copyright © 2016 Xamarin. All rights reserved.
9 #include <btls-error.h>
10 #include <btls-util.h>
14 mono_btls_error_peek_error (void)
16 return ERR_peek_error ();
20 mono_btls_error_get_error (void)
22 return ERR_get_error ();
26 mono_btls_error_clear_error (void)
32 mono_btls_error_get_error_string_n (int error, char *buf, int len)
34 ERR_error_string_n (error, buf, len);