summaryrefslogtreecommitdiffstats
path: root/modules/ssl/ssl_toolkit_compat.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* update license header textRoy T. Fielding2006-07-111-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@420983 13f79535-47bb-0310-9956-ffa450edef68
* Update the copyright year in all .c, .h and .xml filesColm MacCarthaigh2006-04-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@395228 13f79535-47bb-0310-9956-ffa450edef68
* Doxygen fixup / cleanupIan Holsman2005-08-291-15/+22
| | | | | | | | | submited by: Neale Ranns neale ranns.org reviewed by: Ian Holsman git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@263931 13f79535-47bb-0310-9956-ffa450edef68
* Joe strongly objected to this outgoing style; use this incomingWilliam A. Rowe Jr2005-07-081-0/+18
| | | | | | | style for const modifiers so the reader can still follow that the data is [const] unsigned char * git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@209795 13f79535-47bb-0310-9956-ffa450edef68
* The macro is simply not worth it; each of these various occurancesWilliam A. Rowe Jr2005-07-081-7/+0
| | | | | | | | | differ as openssl has modified pointer constness from bump to bump. This needs testing on Netware, it builds clean on 0.9.6m, 0.9.7d, 0.9.7g, and 0.9.8-final on Win32. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@209675 13f79535-47bb-0310-9956-ffa450edef68
* Wrap this type in a macro since it seems to be bouncing fromWilliam A. Rowe Jr2005-07-071-2/+9
| | | | | | | | 0.9.7g to 0.9.7h in const'ness. PR: 34520 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@209530 13f79535-47bb-0310-9956-ffa450edef68
* Accomodate API changes to OpenSSL 0.9.8 (now in beta).William A. Rowe Jr2005-07-061-0/+7
| | | | | | | Submitted by: Georg v. Zezschwitz <gvz@2scale.de> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@209465 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright year to 2005 and standardize on current copyright owner line.Justin Erenkrantz2005-02-041-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151408 13f79535-47bb-0310-9956-ffa450edef68
* In the newer versions of OpenSSL, the flag SSL_SESS_CACHE_NO_INTERNAL_LOOKUPMadhusudan Mathihalli2004-03-271-0/+4
| | | | | | | | | | | | just prevents the internal lookup but does not prevent the caching. OpenSSL 0.9.6h onwards has a new flag 'SSL_SESS_CACHE_NO_INTERNAL' to prevent OpenSSL from both lookup and caching the sessions internally. PR: 26562 Reviewed by: Geoff Thorpe, Joe Orton git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103165 13f79535-47bb-0310-9956-ffa450edef68
* fix name of The Apache Software FoundationAndré Malo2004-02-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102618 13f79535-47bb-0310-9956-ffa450edef68
* fix copyright dates according to the first check inAndré Malo2004-02-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102573 13f79535-47bb-0310-9956-ffa450edef68
* apply Apache License, Version 2.0André Malo2004-02-061-44/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102525 13f79535-47bb-0310-9956-ffa450edef68
* update license to 2004.André Malo2004-01-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102135 13f79535-47bb-0310-9956-ffa450edef68
* Based on list discussion between myself and Geoff, it seems prudentWilliam A. Rowe Jr2003-05-301-1/+4
| | | | | | | | | | | | | | to check for both the existence of the openssl/engine.h header file and some 'expected function' such as ENGINE_init() (better suggestions are welcome.) Also clear up some confusion; so long as we have ENGINE_load_builtin_engines() we should attempt to preload those. This patch protects all ENGINE-based code within the tests for the engine header and function, and changes a version test into a function test. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100104 13f79535-47bb-0310-9956-ffa450edef68
* The patch below reverts the prior commit to eliminate SSL_set_state().William A. Rowe Jr2003-05-221-0/+6
| | | | | | | | | | | | | | | | | | | | | | | Some additional work or research is required in order to pass the perl-framework regressions, but I don't have the cycles and don't care to leave the broken code in cvs HEAD. REVERTING: wrowe 2003/05/19 08:13:19 Modified: modules/ssl config.m4 ssl_engine_io.c ssl_engine_kernel.c ssl_toolkit_compat.h Log: Drop SSL_set_state() in favor of a proper SSL_renegotiate() to begin rehandshaking the SSL connection, vis-a-vis ApacheSSL. Revision Changes Path 1.15 +0 -1 httpd-2.0/modules/ssl/config.m4 1.108 +1 -1 httpd-2.0/modules/ssl/ssl_engine_io.c 1.93 +1 -1 httpd-2.0/modules/ssl/ssl_engine_kernel.c 1.34 +0 -6 httpd-2.0/modules/ssl/ssl_toolkit_compat.h git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100004 13f79535-47bb-0310-9956-ffa450edef68
* Drop SSL_set_state() in favor of a proper SSL_renegotiate() to beginWilliam A. Rowe Jr2003-05-191-6/+0
| | | | | | | rehandshaking the SSL connection, vis-a-vis ApacheSSL. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99921 13f79535-47bb-0310-9956-ffa450edef68
* Roll away the SSL_EXPERIMENTAL_ENGINE test in favor of testing for theWilliam A. Rowe Jr2003-05-191-1/+1
| | | | | | | | | ENGINE_init() function in config.m4, and rely on HAVE_ENGINE_INIT instead. Reviewed by: Ben Laurie (concept) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99919 13f79535-47bb-0310-9956-ffa450edef68
* tweak the const-ness of MODSSL_INFO_CB_ARG_TYPE based on the OpenSSLJeff Trawick2003-05-011-0/+4
| | | | | | | | | | version this resolves some warnings with RH 8 (OpenSSL 0.9.6) and some errors with AIX's native compiler (OpenSSL 0.9.6) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99678 13f79535-47bb-0310-9956-ffa450edef68
* Solve SSL-C breakage introduced in mod_ssl.h rev 1.129 andWilliam A. Rowe Jr2003-04-061-0/+2
| | | | | | | | | | | | | | | | ssl_engine_kernel.c rev 1.88. SSL* is not const under SSL-C. I've confirmed Jeff's comment that the original patch doesn't harm earlier OpenSSL versions which declared no arguments at all. I suspect now that we could fold #define MODSSL_BIO_CB_ARG_TYPE const char #define MODSSL_CRYPTO_CB_ARG_TYPE const char #define MODSSL_INFO_CB_ARG_TYPE const SSL* into a single MODSSL_CB_ARG_CONST define, but this works for now. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99263 13f79535-47bb-0310-9956-ffa450edef68
* Introduce a number of SSLC hints to mod_ssl, including the followingWilliam A. Rowe Jr2003-04-031-18/+39
| | | | | | | | | | | | | | | | type overrides; MODSSL_CLIENT_CERT_CB_ARG_TYPE MODSSL_PCHAR_CAST (for a host of non-void/const sslc values) modssl_read_bio_cb_fn (for several callbacks with same prototypes) Declare callback functions appropriately. And protect us from indetermineant toolkits with #error "Unrecognized SSL Toolkit!" git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99183 13f79535-47bb-0310-9956-ffa450edef68
* OpenSSL should be included as "openssl/ssl.h" and not "ssl.h" (and rely on theMadhusudan Mathihalli2003-03-141-8/+21
| | | | | | | | | | | INCLUDE path to be defined properly) PR: 11310 Submitted by: Geoff Thrope <geoff@geoffthrope.net> Reviewed by: Madhusudan Mathihalli git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99008 13f79535-47bb-0310-9956-ffa450edef68
* finished that boring job:André Malo2003-02-031-1/+1
| | | | | | | | | update license to 2003. Happy New Year! ;-)) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98573 13f79535-47bb-0310-9956-ffa450edef68
* fix the interface to PEM_read_bio_X509() with OpenSSL versions older than 0.9.4.Jeff Trawick2002-10-261-1/+5
| | | | | | | | Submitted by: Madhu Mathihalli <madhusudan_mathihalli@hp.com> Reviewed by: Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97308 13f79535-47bb-0310-9956-ffa450edef68
* mod_ssl uses free() inappropriately in several places, to freeJeff Trawick2002-10-251-0/+4
| | | | | | | | | | | | memory which has been previously allocated inside OpenSSL. Such memory should be freed with OPENSSL_free(), not with free(). Submitted by: Nadav Har'El <nyh@math.technion.ac.il>, Madhusudan Mathihalli <madhusudan_mathihalli@hp.com> Reviewed by: Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97307 13f79535-47bb-0310-9956-ffa450edef68
* Small fixes for SSLCWilliam A. Rowe Jr2002-08-211-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96477 13f79535-47bb-0310-9956-ffa450edef68
* add/use EVP_PKEY_reference_inc and X509_reference_inc compat macrosDoug MacEachern2002-03-301-0/+6
| | | | | | | to get these changes working with sslc git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94341 13f79535-47bb-0310-9956-ffa450edef68
* add sslc compat for sk_X509_INFO_freeDoug MacEachern2002-03-301-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94340 13f79535-47bb-0310-9956-ffa450edef68
* enable/cleanup SSL_X509_INFO_load_{file,path} functions for use inDoug MacEachern2002-03-301-0/+5
| | | | | | | proxy context git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94323 13f79535-47bb-0310-9956-ffa450edef68
* cleanup the proxy contextDoug MacEachern2002-03-291-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94288 13f79535-47bb-0310-9956-ffa450edef68
* add licenseDoug MacEachern2002-03-271-0/+49
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94239 13f79535-47bb-0310-9956-ffa450edef68
* add configure checks for ssl functions:Doug MacEachern2002-03-271-2/+1
| | | | | | | | | -SSL_set_state: macro in OpenSSL, might be a function in a patched sslc -SSL_set_cert_store: patch submitted to OpenSSL, might be applied to OpenSSL or sslc git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94223 13f79535-47bb-0310-9956-ffa450edef68
* fix doofo in last commitDoug MacEachern2002-03-271-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94218 13f79535-47bb-0310-9956-ffa450edef68
* sslc 1.x does not have an x509v3.hDoug MacEachern2002-03-271-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94217 13f79535-47bb-0310-9956-ffa450edef68
* sslc does not currently support X509V3_EXT_d2iDoug MacEachern2002-03-271-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94216 13f79535-47bb-0310-9956-ffa450edef68
* toolkit compat for PEM_read_bio_PrivateKeyDoug MacEachern2002-03-271-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94215 13f79535-47bb-0310-9956-ffa450edef68
* toolkit compat for PEM_read_bio_X509Doug MacEachern2002-03-271-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94213 13f79535-47bb-0310-9956-ffa450edef68
* adjust to another const char vs char mismatch between OpenSSL and sslcDoug MacEachern2002-03-271-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94212 13f79535-47bb-0310-9956-ffa450edef68
* typo fix s/EDG/EGD/gDoug MacEachern2002-03-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94210 13f79535-47bb-0310-9956-ffa450edef68
* modssl_set_cipher_list was in the wrong place for OpenSSLDoug MacEachern2002-03-271-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94209 13f79535-47bb-0310-9956-ffa450edef68
* RAND_status macro was in the wrong placeDoug MacEachern2002-03-271-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94208 13f79535-47bb-0310-9956-ffa450edef68
* sslc does not currently support RAND_egd or RAND_statusDoug MacEachern2002-03-271-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94207 13f79535-47bb-0310-9956-ffa450edef68
* in sslc PEM_F_DEF_CALLBACK == PEM_F_DEF_CBDoug MacEachern2002-03-271-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94206 13f79535-47bb-0310-9956-ffa450edef68
* 2nd arg to SSL_set_cipher_list in sslc is char *Doug MacEachern2002-03-271-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94205 13f79535-47bb-0310-9956-ffa450edef68
* sslc 1.x SSL_set_verify only takes 2 argsDoug MacEachern2002-03-271-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94204 13f79535-47bb-0310-9956-ffa450edef68
* sslc does not currently implement an SSL_set_state functionDoug MacEachern2002-03-271-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94203 13f79535-47bb-0310-9956-ffa450edef68
* sslc adds a second, unused param to X509_verify_certDoug MacEachern2002-03-271-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94202 13f79535-47bb-0310-9956-ffa450edef68
* sslc does not have a safestack.h, implement a minimal subset requiredDoug MacEachern2002-03-271-0/+25
| | | | | | | for mod_ssl git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94201 13f79535-47bb-0310-9956-ffa450edef68
* some compat macros for sslc 1.xDoug MacEachern2002-03-271-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94200 13f79535-47bb-0310-9956-ffa450edef68
* moving OpenSSL+sslc compat foo to ssl_toolkit_compat.hDoug MacEachern2002-03-271-0/+58
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94199 13f79535-47bb-0310-9956-ffa450edef68