aboutsummaryrefslogtreecommitdiff
path: root/openssl/src
Commit message (Collapse)AuthorAgeFilesLines
* Add SslRef::set_alpn_protosSteven Fackler2018-06-041-0/+26
|
* Update to 1.1.1-pre7Steven Fackler2018-06-022-43/+100
| | | | | | | | | The initial session ticket is now sent as part of SSL_accept, so some tests need to write a single byte through the stream to make sure that both ends have fully completed to avoid test flakes. TLSv1.3 cipher suite control has been extracted from the normal cipher list into a separate method: SslContextBuilder::set_ciphersuites.
* fix build on older rustcSteven Fackler2018-06-011-1/+1
|
* Adjust Nid signature algorithm APIsSteven Fackler2018-06-011-19/+56
|
* Fix typesSteven Fackler2018-06-011-6/+9
|
* Fix use-after-free in cmsSteven Fackler2018-06-011-15/+7
| | | | Closes #941
* Add SslRef::verified_chainSteven Fackler2018-05-292-14/+30
|
* rewrite Nid::{long_name,short_name} to return Results instead of OptionsMarco Huenseler2018-05-281-29/+22
|
* Get Nid string representationsMarco Huenseler2018-05-281-0/+69
|
* Rename X509Ref::fingerprint to X509Ref::digest and avoid allocatingSteven Fackler2018-05-245-34/+47
|
* Add some digest supportSteven Fackler2018-05-242-3/+56
|
* Don't panic on bogus servernamesSteven Fackler2018-05-241-1/+25
| | | | | | | Also add a second version of the method to avoid filtering out non-utf8 names. Closes #930
* Add bindings to SSL_get_finished and SSL_get_peer_finishedSteven Fackler2018-05-241-6/+46
| | | | These are used for the tls-unique SCRAM channel binding mode.
* Merge pull request #920 from Ralith/max-early-data-accessorsSteven Fackler2018-05-221-1/+186
|\ | | | | TLS1.3 early data support
| * Expose early I/OBenjamin Saunders2018-05-221-1/+89
| |
| * Expose early keying material exportBenjamin Saunders2018-05-171-0/+27
| |
| * Expose max TLS1.3 early data accessorsBenjamin Saunders2018-05-171-0/+70
| |
* | Revert "Move proto version accessors to SslContextRef"Steven Fackler2018-05-201-52/+44
| |
* | Move proto version accessors to SslContextRefSteven Fackler2018-05-201-44/+52
| | | | | | | | Add a Derf impl for SslContextBuilder so existing use still works.
* | Improve error Display implsSteven Fackler2018-05-201-8/+9
| |
* | Make Stack Sync + SendSteven Fackler2018-05-201-9/+15
| |
* | Support ALPN on libresslSteven Fackler2018-05-203-17/+21
| | | | | | | | Closes #690
* | Overhaul openssl cfgsSteven Fackler2018-05-2020-858/+870
| | | | | | | | Also expose hostname verification on libressl
* | Support min/max version in LibreSSLSteven Fackler2018-05-195-32/+42
|/ | | | | Their implementations of the accessors don't behave expected with no bounds, so we ignore those bits of the tests.
* Merge pull request #902 from ur0/CMS_signSteven Fackler2018-05-131-1/+87
|\ | | | | Add the CMS_sign and i2d_CMS_ContentInfo function bindings
| * Gate away CMS_KEY_PARAM from OpenSSL 1.0.1Umang Raghuvanshi2018-05-101-1/+2
| |
| * Properly version-gate CMS constantsUmang Raghuvanshi2018-05-101-0/+1
| |
| * Move CMS_* flags to the openssl-sys packageUmang Raghuvanshi2018-05-101-24/+31
| | | | | | | | Also renames attributes in the bitflags struct.
| * Use bitflags for CMS optionsUmang Raghuvanshi2018-04-261-2/+29
| |
| * Implement CR suggestionsUmang Raghuvanshi2018-04-221-32/+34
| | | | | | | | | | | | * Don't do un-necessary heap pointer gymnastics * Use the to_der! macro instead of a manually written impl * Allow optional arguments for CMS_sign
| * Add the CMS_sign and i2d_CMS_ContentInfo function bindingsUmang Raghuvanshi2018-04-201-1/+49
| | | | | | | | | | This adds the CMS_sign and i2d_CMS_ContentInfo bindings in the openssl-sys crate and Rusty wrappers in the openssl crate.
* | Implement Clone for RsaSteven Fackler2018-05-121-1/+24
| | | | | | | | Closes #917
* | Merge Ssl impl blocksSteven Fackler2018-05-121-57/+55
| |
* | Clean up SSL callbacksSteven Fackler2018-05-122-68/+76
| | | | | | | | | | Also add an Arc to avoid a weird use after free edge case if a callback changes a callback.
* | Disable tests that talk to Google on LibreSSL 2.5.0Steven Fackler2018-05-122-1/+5
| | | | | | | | | | They're flickering, and I'm assuming it's just because that version is so old.
* | Change SslContext callback handlingSteven Fackler2018-05-122-240/+151
| | | | | | | | Use the existing infrastructure!
* | Fix base version for min/max proto accessorsSteven Fackler2018-05-092-32/+49
| | | | | | | | Closes #911
* | Expose SslSession <-> DER conversionBenjamin Saunders2018-04-291-0/+23
| |
* | Some misc cleanupSteven Fackler2018-04-271-60/+81
| |
* | Remove Rsa::buildSteven Fackler2018-04-251-39/+26
| | | | | | | | It could be a bit confusing since it only works for private keys.
* | Merge pull request #901 from eoger/rsa-from-builderSteven Fackler2018-04-251-20/+89
|\ \ | | | | | | Add RsaPrivateKeyBuilder
| * | Add RsaPrivateKeyBuilderEdouard Oger2018-04-251-20/+89
| |/ | | | | | | Fixes #837
* / Add functions to X509Req to obtain public key and extensionsRené Richter2018-04-212-0/+26
|/ | | | This allows for basic CSR signing.
* Document that encrypt/decrypt use paddingRohit Aggarwal2018-04-161-2/+2
|
* Return `PKey<Private>` from `private_key_from_der`Bastian Köcher2018-04-041-1/+1
|
* Merge pull request #858 from Ralith/stateless-apiSteven Fackler2018-03-313-41/+331
|\ | | | | Introduce SslStreamBuilder
| * Add test for stateless connectionBenjamin Saunders2018-03-281-2/+119
| |
| * Introduce SslStreamBuilderBenjamin Saunders2018-03-281-34/+114
| |
| * Update to OpenSSL 1.1.1-pre3Benjamin Saunders2018-03-282-5/+98
| |
* | Fix a flag nameSteven Fackler2018-03-291-3/+5
| |