ucspi-ssl 0.13.03
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{
5 unsigned long e;
6 int r;
7
8 e = ERR_peek_last_error();
9// e = ERR_get_error();
10 if (!e) return 0;
11 r = op(ERR_error_string(e,0));
12 if (r) return r;
13 return ssl_error(op);
14}
int ssl_error(int(*op)(const char *))
Definition: ssl_error.c:3
char ** e
Definition: sslhandle.c:129
Header file to be used with sqmail; previously called ssl.h. (name clash)