aboutsummaryrefslogtreecommitdiff
path: root/openssl/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Add missing C-string conversion, fixing recent build errorsJethro Beekman2015-07-081-3/+6
|
* Merge pull request #227 from jethrogb/topic/x509_nameSteven Fackler2015-07-082-7/+47
|\ | | | | Allow setting of arbitrary X509 names
| * Fix/add more X509generator testsJethro Beekman2015-07-082-4/+6
| |
| * Add X509generator.add_names methodJethro Beekman2015-07-081-0/+11
| |
| * Add public add_name method to X509GeneratorJethro Beekman2015-07-081-3/+16
| |
| * Replace CN field by names vectorJethro Beekman2015-07-081-4/+18
| |
* | Merge pull request #221 from jethrogb/topic/ssl_optionsSteven Fackler2015-07-081-29/+46
|\ \ | |/ |/| Several SSL option fixes
| * Decouple C SSL Option bit flags from Rust versionJethro Beekman2015-07-011-29/+46
| | | | | | | | | | | | | | The OpenSSL "SSL_OP_*" flags are in constant flux between different OpenSSL versions. To avoid having to change the Rust definitions, we implement our own numbering system in Rust, and use an automatically-generated C shim to convert the bitflags at runtime.
* | Merge pull request #233 from jethrogb/topic/x509_extensionSteven Fackler2015-07-084-122/+289
|\ \ | | | | | | Allow setting of arbitrary X509 extensions
| * | tabs to spacesJethro Beekman2015-07-011-76/+76
| | |
| * | Add documentation on X509 ExtensionsJethro Beekman2015-07-011-0/+42
| | |
| * | Add Issuer Alternative Name extensionJethro Beekman2015-07-011-0/+5
| | |
| * | Add Subject Alternate Name extensionJethro Beekman2015-07-012-1/+35
| | |
| * | Add arbitrary X509 extensions by OID stringJethro Beekman2015-07-013-15/+35
| | |
| * | Add arbitrary X509 extensions by NIDJethro Beekman2015-07-012-2/+8
| | |
| * | Add public generic extension interface to X509GeneratorJethro Beekman2015-07-012-13/+49
| | | | | | | | | | | | | | | | | | * Add add_extension and add_extensions functions * Deprecate set_usage and set_ext_usage * Change test to use add_extension
| * | Implement arbitrary X509 Extended Key Usage valuesJethro Beekman2015-07-012-3/+6
| | |
| * | Implement "extensions" field in X509generator, and change existing ↵Jethro Beekman2015-07-013-25/+53
| | | | | | | | | | | | extensions to use that
| * | Turn assertions into unwraps such that tests provide useful output on panic.Jethro Beekman2015-07-011-7/+3
| | |
| * | Turn "dirty hack" into slightly less dirty hack, with potential to become ↵Jethro Beekman2015-07-011-18/+10
| | | | | | | | | | | | non-dirty
| * | Move X509 extensions to seperate module, implement ToString instead of ↵Jethro Beekman2015-07-012-70/+75
| |/ | | | | | | custom AsStr
* / Release v0.6.4Steven Fackler2015-07-061-1/+1
|/
* Add a test that checks whether 3 known subject attributes can be retrieved ↵Jethro Beekman2015-06-301-0/+29
| | | | by NID
* Fix NID definitions to match OpenSSL. The previous numbers were introduced ↵Jethro Beekman2015-06-301-2/+5
| | | | incorrectly in #213
* Fix backcompat methodSteven Fackler2015-06-291-1/+1
|
* Fix build with alpn featureSteven Fackler2015-06-292-3/+3
|
* ssl: support ALPNCody P Schafer2015-06-292-15/+213
| | | | | | | | | | Heavily based on the existing NPN wrapping code. Naming of public functions is identical to the NPN ones with `s/npn/alpn/` applied to prevent devs from needing to remember 2 names (and to let my copy the npn tests and perform the subistution to generate the apln tests). It might make sense to (at some point) use macros or a trait to cut down the duplication.
* ssl/NPN: factor out encoding of the protocol listCody P Schafer2015-06-291-8/+19
| | | | | The intention is to allow the encoding to be reused by the ALPN support code.
* ssl: use a common helper to generate new ex data indexes, switch NPN to a ↵Cody P Schafer2015-06-291-33/+17
| | | | | | | | | | | lazyref Rather than having the verification data idx generation and NPN use there own (similar) impls to generate indexes with destructors, unify them. Make NPNs use of indexes more idomatic by storing the index in a lazyref rather than having a function with static data members.
* More docsSteven Fackler2015-06-281-0/+16
|
* Fix windows buildSteven Fackler2015-06-281-0/+2
|
* DocsSteven Fackler2015-06-281-18/+10
|
* Make the direct constructors the defaultsSteven Fackler2015-06-282-35/+35
|
* Add docs for accept and connectSteven Fackler2015-06-281-0/+22
|
* Rename new_client to connect and new_server to acceptSteven Fackler2015-06-282-44/+49
|
* Implement direct IO supportSteven Fackler2015-06-282-13/+187
|
* Prepare for direct stream supportSteven Fackler2015-06-271-78/+165
|
* Docs tweakSteven Fackler2015-06-271-1/+2
|
* Reduce SslStream constructor duplicationSteven Fackler2015-06-273-45/+64
|
* Initialize stream bufferSteven Fackler2015-06-271-8/+2
|
* Fix set_hostnameSteven Fackler2015-06-271-10/+2
| | | | | | It was previously failing to null terminate the hostname string (was anyone actually using this?). Also move the macro expansion to the C shim.
* Import shim'd HMAC stuff with the original nameSteven Fackler2015-06-271-9/+9
|
* Move macro replicas into C shimSteven Fackler2015-06-271-1/+1
|
* Release v0.6.3Steven Fackler2015-06-251-1/+1
|
* Add a test for connection negotiation failureSteven Fackler2015-06-251-1/+10
|
* Fix EOF handling in retry wrapperSteven Fackler2015-06-253-5/+13
|
* Remove superfluous vec! usageJethro Beekman2015-06-141-9/+9
|
* Use AsRef for backwards compatibility with passing IV as VecJethro Beekman2015-06-141-4/+5
|
* Pass symmetric crypto initialization vector as a sliceJethro Beekman2015-06-121-7/+7
| | | | | Note: This change is backwards-incompatible. Users will need to add turn their parameters into references.
* Correction on sign and verify documentation to be more explicit of rightEmeric Chevalier2015-05-301-8/+17
| | | | behaviour (no hash done by the functions).