summaryrefslogtreecommitdiff
path: root/ssl
Commit message (Collapse)AuthorAgeFilesLines
* 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