summaryrefslogtreecommitdiff
path: root/ssl
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused variable (get rid of warning)martin2007-11-231-1/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@597628 13f79535-47bb-0310-9956-ffa450edef68
* Not all compilers know the C99 standard yet.martin2007-11-231-3/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@597627 13f79535-47bb-0310-9956-ffa450edef68
* Expose the SSL EVP interface to encrypt and decrypt arbitraryminfrin2007-11-212-0/+343
| | | | | | | | blocks of data, using symmetrical keys. Experimental support for asymmetrical public/private keys as supported by OpenSSL v0.9.9. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@597209 13f79535-47bb-0310-9956-ffa450edef68
* Fix a spelling mistakeminfrin2007-11-171-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@595965 13f79535-47bb-0310-9956-ffa450edef68
* Wrong function parameter list in the non-SSL casemartin2007-03-291-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@523624 13f79535-47bb-0310-9956-ffa450edef68
* Remove the -1 return values from the openssl code.dreid2007-03-281-11/+16
| | | | | | | | | | | | We need to add an error code for "there was an openssl error" to allow us to direct the user to call a function to determine what was wrong. Highlighted by Joe Orton git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@523390 13f79535-47bb-0310-9956-ffa450edef68
* Explicity state what type of factory we are creating rather thandreid2007-03-282-2/+7
| | | | | | | | | | | trying to guess based on the arguments passed in, which was less than optimal. Highlighted by Joe Orton git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@523382 13f79535-47bb-0310-9956-ffa450edef68
* Fix a potential segfault.dreid2007-02-141-3/+4
| | | | | | | | Submitted by Chad Fox (chad at gigapogo.com). git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@507600 13f79535-47bb-0310-9956-ffa450edef68
* Update license headers.jerenkrantz2007-01-154-24/+24
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@496440 13f79535-47bb-0310-9956-ffa450edef68
* Fix an error pointed out by Brad Nicholes when closingdreid2006-07-181-2/+1
| | | | | | | "plain" sockets if the ssl open fails. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@423239 13f79535-47bb-0310-9956-ffa450edef68
* First cut at an implementation of Winsock SSL for the NetWare platform.bnicholes2006-07-121-0/+248
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@421404 13f79535-47bb-0310-9956-ffa450edef68
* Fix non-SSL build.dreid2006-06-241-2/+7
| | | | | | | | Tests now build/run even without ssl support, so reflect that in their code. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@416920 13f79535-47bb-0310-9956-ffa450edef68
* - add echod and sockperf in ssl enabled versions for apr-utildreid2006-06-242-5/+14
| | | | | | | | | | | | - correct bug in apr_ssl_accept() - add key and cert for echod/sockperf test This gets us testing both server and client aspects of the ssl code and allows us to compare vs raw sockets directly :-) git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@416919 13f79535-47bb-0310-9956-ffa450edef68
* Add a function to change the requested poll events for an ssl socketdreid2006-06-231-9/+26
| | | | | | | | | | | Change so we now track the pollset and simply store the pollfd structure Refactor test so it's now more use This now gets us to a point of having very basic functionality for ssl sockets. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@416697 13f79535-47bb-0310-9956-ffa450edef68
* Add basis of pollset support.dreid2006-06-231-0/+45
| | | | | | | | | | | | This basically just allows us to pass ssl sockets to a pollset, which is possible as they are essentially just apr_socket with an additional layer. Hopefully this apporach will work for all the libs we need to support. Tidy up test app and add very basic pollset support. This test needs to be rewritten to actually do something useful. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@416667 13f79535-47bb-0310-9956-ffa450edef68
* - add apr_ssl_library_name()dreid2006-06-221-0/+10
| | | | | | | | | | Do we also want to return a constant so that apps can easier apply per-library logic if they wish? Might be overkill, might not but probably fits with the aiims of making this as useful as possible. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@416420 13f79535-47bb-0310-9956-ffa450edef68
* - trim some long linesdreid2006-06-222-7/+57
| | | | | | | | | | | - add apr_ssl_socket_raw_error This starts adding in the api's I discussed on list to get the *raw* error codes from the underlying library. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@416413 13f79535-47bb-0310-9956-ffa450edef68
* Add stubs for ssl code when we're building sans SSL.dreid2006-06-212-8/+72
| | | | | | | | | Highlighted by Daniel Rall when building httpd the exports code picked up on the prototypes but didn't find symbols -- now it's happy, and with this patch httpd builds again. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@415924 13f79535-47bb-0310-9956-ffa450edef68
* - remove symbols with '_' as first characterdreid2006-06-203-23/+23
| | | | | | | | | | | - remove c++ style comments - protect testssl if not building with ssl - add a tiny bit more documentation - more to follow Hopefully these start to address Joe's concerns??? git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@415705 13f79535-47bb-0310-9956-ffa450edef68
* First dump of some ssl sockets code. This follows the methodology of thedreid2006-06-203-0/+411
patch, but attempts to break out everything that is specific to OpenSSL into a seperate file. The rationale shouldn't be hard to follow. This does makes things slightly moer complex and adds another layer of indirection, but there shouldn't be much of a hit because of it. Hopefully this will be generic enough that some windows person can add win32 support? The test app runs, but is about as basic a test as you could write :-) Should add a "server" test to handle bind/listen/accept cases as these are presently untested. Error handling needs to be beefed up, especially on the read/write, but this is just a first dump to get the code out there and into the public arena. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@415639 13f79535-47bb-0310-9956-ffa450edef68