s/qmail 4.2.29a
Next generation secure email transport
Loading...
Searching...
No Matches
Functions | Variables
tls_remote.h File Reference
#include <openssl/ssl.h>
Include dependency graph for tls_remote.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int tls_domaincerts (const stralloc)
 
int tls_destination (const stralloc)
 tls_destination
 
int tlsa_check (const STACK_OF(X509) *, const stralloc, const unsigned long)
 
int tls_fingerprint (X509 *, const char *, const int)
 
int tls_chainfile (SSL_CTX *, const char *)
 
int tls_certkey (SSL_CTX *, const char *, const char *, char *)
 
int tls_conn (SSL *, int)
 
int tls_setup (int, char *, char *)
 
int tls_checkpeer (SSL *, X509 *, const stralloc, const int, const int)
 
int tls_checkcrl (SSL *)
 
int tls_error (void)
 
int tls_exit (SSL *)
 
int utf8string (unsigned char *, int)
 

Variables

char * tlsdestinfo
 
struct constmap maptlsdestinations
 
char * tlsdomaininfo
 
struct constmap mapdomaincerts
 
stralloc ciphers
 

Function Documentation

◆ tls_certkey()

int tls_certkey ( SSL_CTX *  ctx,
const char *  cert,
const char *  key,
char *  ppwd 
)

Definition at line 29 of file tls_remote.c.

Here is the caller graph for this function:

◆ tls_chainfile()

int tls_chainfile ( SSL_CTX *  ,
const char *   
)

◆ tls_checkcrl()

int tls_checkcrl ( SSL *  ssl)

Definition at line 121 of file tls_remote.c.

◆ tls_checkpeer()

int tls_checkpeer ( SSL *  ssl,
X509 *  cert,
const  stralloc,
const int  flag,
const int  verify 
)

Definition at line 56 of file tls_remote.c.

Here is the caller graph for this function:

◆ tls_conn()

int tls_conn ( SSL *  ssl,
int  smtpfd 
)

Definition at line 49 of file tls_remote.c.

Here is the caller graph for this function:

◆ tls_destination()

int tls_destination ( const stralloc  hostname)

tls_destination

Parameters
strallochostname (maybe 0-terminated)
                       Certificate       Fallthru
Returns
values: | ADH | Cert *DN FQDN Hash | noTLSA noTLS -------—+--—+-----------------—+----------— optional TLS | 1 | 3 - - - | - 9 mandatory TLS | 2 | 4 5 6 7 | 8
   no TLS   -1 

Definition at line 280 of file tls_remote.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tls_domaincerts()

int tls_domaincerts ( const  stralloc)

Definition at line 370 of file tls_remote.c.

Here is the caller graph for this function:

◆ tls_error()

int tls_error ( void  )

◆ tls_exit()

int tls_exit ( SSL *  ssl)

Definition at line 259 of file tls_remote.c.

Here is the caller graph for this function:

◆ tls_fingerprint()

int tls_fingerprint ( X509 *  cert,
const char *  fingerprint,
const int  dlen 
)

Definition at line 235 of file tls_remote.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tls_setup()

int tls_setup ( int  ,
char *  ,
char *   
)

◆ tlsa_check()

int tlsa_check ( const STACK_OF(X509) *  certs,
const  stralloc,
const unsigned long  p 
)

Definition at line 172 of file tls_remote.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ utf8string()

int utf8string ( unsigned char *  ch,
int  len 
)

Definition at line 528 of file qmail-remote.c.

Here is the caller graph for this function:

Variable Documentation

◆ ciphers

stralloc ciphers
extern

Definition at line 408 of file qmail-remote.c.

◆ mapdomaincerts

struct constmap mapdomaincerts
extern

Definition at line 414 of file qmail-remote.c.

◆ maptlsdestinations

struct constmap maptlsdestinations
extern

Definition at line 416 of file qmail-remote.c.

◆ tlsdestinfo

char* tlsdestinfo
extern

Definition at line 410 of file qmail-remote.c.

◆ tlsdomaininfo

char* tlsdomaininfo
extern

Definition at line 411 of file qmail-remote.c.