ssl_private.h revision b9d16b347b2230229dbaba492468270acfddcedb
c2a88a7ef740c408aba42af38ddfb9ab8a7398d9nd/* Copyright 2001-2004 The Apache Software Foundation
fd9abdda70912b99b24e3bf1a38f26fde908a74cnd * Licensed under the Apache License, Version 2.0 (the "License");
fd9abdda70912b99b24e3bf1a38f26fde908a74cnd * you may not use this file except in compliance with the License.
fd9abdda70912b99b24e3bf1a38f26fde908a74cnd * You may obtain a copy of the License at
c2a88a7ef740c408aba42af38ddfb9ab8a7398d9nd * Unless required by applicable law or agreed to in writing, software
96ad5d81ee4a2cc66a4ae19893efc8aa6d06fae7jailletc * distributed under the License is distributed on an "AS IS" BASIS,
c2a88a7ef740c408aba42af38ddfb9ab8a7398d9nd * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
c2a88a7ef740c408aba42af38ddfb9ab8a7398d9nd * See the License for the specific language governing permissions and
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen * limitations under the License.
3f08db06526d6901aa08c110b5bc7dde6bc39905nd * Internal interfaces private to mod_ssl.
c2a88a7ef740c408aba42af38ddfb9ab8a7398d9nd/* Apache headers */
0d0ba3a410038e179b695446bb149cce6264e0abnd/* mod_ssl headers */
6dfd50de0ccc3b37ff6eee76bbe7f0a51211a534humbedooh/* The #ifdef macros are only defined AFTER including the above
205f749042ed530040a4f0080dbcb47ceae8a374rjung * therefore we cannot include these system files at the top :-(
c2a88a7ef740c408aba42af38ddfb9ab8a7398d9nd#include <unistd.h> /* needed for STDIN_FILENO et.al., at least on FreeBSD */
#ifndef FALSE
#define FALSE (0)
#ifndef TRUE
#ifndef PFALSE
#ifndef PTRUE
#ifndef UNSET
#ifndef NUL
#ifndef RAND_MAX
#include <limits.h>
#ifndef BOOL
#define BOOL unsigned int
#ifndef UCHAR
#define UCHAR unsigned char
#define myConnConfig(c) \
#ifndef SSL_SESSION_CACHE_TIMEOUT
#if defined(DBM_SUFFIX)
typedef int ssl_algo_t;
#define SSL_ALGO_UNKNOWN (0)
#define SSL_AIDX_RSA (0)
#define SSL_TMP_KEY_RSA_512 (0)
#define SSL_OPT_NONE (0)
#define SSL_OPT_ALL (SSL_OPT_STDENVVARS|SSL_OPT_COMPATENVVAR|SSL_OPT_EXPORTCERTDATA|SSL_OPT_FAKEBASICAUTH|SSL_OPT_STRICTREQUIRE|SSL_OPT_OPTRENEGOTIATE)
typedef int ssl_opt_t;
#define SSL_PROTOCOL_NONE (0)
typedef int ssl_proto_t;
SSL_CVERIFY_NONE = 0,
} ssl_verify_t;
#define SSL_VERIFY_PEER_STRICT \
#ifndef X509_V_ERR_CERT_UNTRUSTED
SSL_PPTYPE_BUILTIN = 0,
typedef unsigned int ssl_pathcheck_t;
SSL_SCMODE_NONE = 0,
} ssl_scmode_t;
SSL_MUTEXMODE_NONE = 0,
SSL_ENABLED_FALSE = 0,
char *cpExpr;
} ssl_rsctx_t;
} ssl_rssrc_t;
char *cpPath;
int nBytes;
long int nData;
unsigned char *cpData;
} ssl_asn1_t;
const char *client_dn;
const char *verify_info;
const char *verify_error;
int verify_depth;
int is_proxy;
int disabled;
int non_ssl_request;
} SSLConnRec;
int nSessionCacheMode;
char *szSessionCacheDataFile;
void *tSessionCacheDataTable;
const char *szMutexFile;
const char *szCryptoDevice;
} rCtx;
const char *cert_file;
const char *cert_path;
const char *ca_cert_path;
const char *ca_cert_file;
const char *cipher_suite;
int verify_depth;
const char *pphrase_dialog_path;
const char *cert_chain;
const char *crl_path;
const char *crl_file;
} modssl_ctx_t;
struct SSLSrvConfigRec {
const char *vhost_id;
int vhost_id_len;
const char *szCipherSuite;
int nVerifyDepth;
const char *szCACertificatePath;
const char *szCACertificateFile;
extern const char ssl_valid_ssl_mutex_string[];
const char *key,
long int length);
const char *key);
const char *key);
const char *id,
int keytype);
void ssl_die(void);
void ssl_var_register(void);