aboutsummaryrefslogtreecommitdiff
path: root/openssl/src
Commit message (Collapse)AuthorAgeFilesLines
* Release v0.6.5Steven Fackler2015-08-311-1/+1
|
* Merge pull request #251 from ebarnard/evp_bytestokeySteven Fackler2015-08-234-23/+138
|\ | | | | Expose EVP_BytesToKey
| * Expose EVP_BytesToKeyEdward Barnard2015-08-234-23/+138
| | | | | | | | | | This is based on work by pyrho. Closes #88
* | Merge pull request #253 from manuels/masterSteven Fackler2015-08-192-0/+35
|\ \ | | | | | | Add get_state_string()
| * | Add get_state_string()Manuel Schölling2015-08-172-0/+35
| | |
* | | Merge pull request #240 from jethrogb/topic/x509_req_extensionSteven Fackler2015-08-152-9/+33
|\ \ \ | |/ / |/| | Implement certificate extensions for certificate requests
| * | Implement certificate extensions for certificate requestsJethro Beekman2015-07-082-9/+33
| | |
* | | Grab errno for directstream want errorsSteven Fackler2015-08-101-7/+2
| | |
* | | Handle WantWrite and WantRead errorsSteven Fackler2015-08-081-0/+8
| |/ |/|
* | Merge pull request #243 from manuels/masterSteven Fackler2015-08-022-2/+41
|\ \ | | | | | | Fix probelms with DTLS when no packets are pending.
| * | Fix probelms with DTLS when no packets are pending.Manuel Schölling2015-07-182-2/+41
| |/ | | | | | | | | | | | | | | | | | | | | When using DTLS you might run into the situation where no packets are pending, so SSL_read returns len=0. On a TLS connection this means that the connection was closed, but on DTLS it does not (a DTLS connection cannot be closed in the usual sense). This commit fixes a bug introduced by c8d23f3. Conflicts: openssl/src/ssl/mod.rs
* | Merge pull request #242 from awelkie/masterSteven Fackler2015-08-021-11/+16
|\ \ | | | | | | Added AES CTR-mode under feature flag.
| * | Added AES CTR-mode under feature flag.Allen Welkie2015-07-151-11/+16
| |/
* | Expose ssl::initpanicbit2015-07-261-1/+3
| |
* | Add function to write RSA public key as PEMAndrew Dunham2015-07-231-0/+32
|/
* 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
|