Apache HTTPD
Functions | Variables
ssl_engine_log.c File Reference
#include "ssl_private.h"

Go to the source code of this file.

Functions

static const charssl_log_annotation (const char *error)
 
apr_status_t ssl_die (server_rec *s)
 
static APR_INLINE unsigned long modssl_ERR_peek_error_data (const char **data, int *flags)
 
void ssl_log_ssl_error (const char *file, int line, int level, server_rec *s)
 
static void ssl_log_cert_error (const char *file, int line, int level, apr_status_t rv, const server_rec *s, const conn_rec *c, const request_rec *r, apr_pool_t *p, X509 *cert, const char *format, va_list ap)
 
void ssl_log_xerror (const char *file, int line, int level, apr_status_t rv, apr_pool_t *ptemp, server_rec *s, X509 *cert, const char *fmt,...)
 
void ssl_log_cxerror (const char *file, int line, int level, apr_status_t rv, conn_rec *c, X509 *cert, const char *fmt,...)
 
void ssl_log_rxerror (const char *file, int line, int level, apr_status_t rv, request_rec *r, X509 *cert, const char *fmt,...)
 

Variables

struct { 
 
   const char *   cpPattern 
 
   const char *   cpAnnotation 
 
ssl_log_annotate [] 
 

Function Documentation

◆ modssl_ERR_peek_error_data()

static APR_INLINE unsigned long modssl_ERR_peek_error_data ( const char **  data,
int flags 
)
static

Definition at line 82 of file ssl_engine_log.c.

◆ ssl_log_annotation()

static const char * ssl_log_annotation ( const char error)
static

Definition at line 55 of file ssl_engine_log.c.

◆ ssl_log_cert_error()

static void ssl_log_cert_error ( const char file,
int  line,
int  level,
apr_status_t  rv,
const server_rec s,
const conn_rec c,
const request_rec r,
apr_pool_t p,
X509 cert,
const char format,
va_list  ap 
)
static

Definition at line 126 of file ssl_engine_log.c.

◆ ssl_log_cxerror()

void ssl_log_cxerror ( const char file,
int  line,
int  level,
apr_status_t  rv,
conn_rec c,
X509 cert,
const char fmt,
  ... 
)

Definition at line 224 of file ssl_engine_log.c.

◆ ssl_log_rxerror()

void ssl_log_rxerror ( const char file,
int  line,
int  level,
apr_status_t  rv,
request_rec r,
X509 cert,
const char fmt,
  ... 
)

Definition at line 236 of file ssl_engine_log.c.

◆ ssl_log_xerror()

void ssl_log_xerror ( const char file,
int  line,
int  level,
apr_status_t  rv,
apr_pool_t ptemp,
server_rec s,
X509 cert,
const char fmt,
  ... 
)

Definition at line 211 of file ssl_engine_log.c.

Variable Documentation

◆ cpAnnotation

const char* cpAnnotation

Definition at line 40 of file ssl_engine_log.c.

◆ cpPattern

const char* cpPattern

Definition at line 39 of file ssl_engine_log.c.

◆ [struct]

const struct { ... } ssl_log_annotate[]
Initial value:
= {
{ "*envelope*bad*decrypt*", "wrong pass phrase!?" },
{ "*CLIENT_HELLO*unknown*protocol*", "speaking not SSL to HTTPS port!?" },
{ "*CLIENT_HELLO*http*request*", "speaking HTTP to HTTPS port!?" },
{ "*SSL3_READ_BYTES:sslv3*alert*bad*certificate*", "Subject CN in certificate not server name or identical to CA!?" },
{ "*self signed certificate in certificate chain*", "Client certificate signed by CA not known to server?" },
{ "*peer did not return a certificate*", "No CAs known to server for verification?" },
{ "*no shared cipher*", "Too restrictive SSLCipherSuite or using DSA server certificate?" },
{ "*no start line*", "Bad file contents or format - or even just a forgotten SSLCertificateKeyFile?" },
{ "*bad password read*", "You entered an incorrect pass phrase!?" },
{ "*bad mac decode*", "Browser still remembered details of a re-created server certificate?" },
{ NULL, NULL }
}
return NULL
Definition mod_so.c:359