ucspi-ssl 0.13.00
ucspi-ssl
Loading...
Searching...
No Matches
ssl_error.c
Go to the documentation of this file.
1#include "ucspissl.h"
2
3int ssl_error(int (*op)(const char *)) {
4 unsigned long e;
5 int r;
6
7 e = ERR_peek_last_error();
8// e = ERR_get_error();
9 if (!e) return 0;
10 r = op(ERR_error_string(e,0));
11 if (r) return r;
12 return ssl_error(op);
13}
int ssl_error(int(*op)(const char *))
Definition: ssl_error.c:3
Header file to be used with sqmail; previously called ssl.h. (name clash)
char ** e
Definition: sslhandle.c:128