| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Support builds of OpenSSL from vendored source (take 2) | Alex Crichton | 2018-07-30 | 1 | -0/+6 |
| | | | | | | | This is a revival of #684 to see if I can help push it across the finish line! Closes #580 | ||||
| * | SslSessionRef methods return static strings | Steven Fackler | 2018-07-19 | 1 | -3/+6 |
| | | | | | Closes #961 | ||||
| * | Fix build with openssl 1.1.1 and no-psk | Stefan Tatschner | 2018-06-21 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I used this as build flags for openssl 1.1.1: ``` /usr/bin/perl ./Configure linux-x86_64 no-shared no-zlib no-psk no-srp no-weak-ssl-ciphers no-idea ``` rust-openssl crashed with this error: ``` Compiling openssl v0.10.10 error[E0433]: failed to resolve. Use of undeclared type or module `CStr` --> /home/stefan/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.10.10/src/ssl/callbacks.rs:386:16 | 386 | let line = CStr::from_ptr(line).to_bytes(); | ^^^^ Use of undeclared type or module `CStr` error[E0412]: cannot find type `c_char` in this scope --> /home/stefan/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.10.10/src/ssl/callbacks.rs:377:75 | 377 | pub unsafe extern "C" fn raw_keylog<F>(ssl: *const ffi::SSL, line: *const c_char) | ^^^^^^ did you mean `c_uchar`? help: possible candidates are found in other modules, you can import them into scope | 1 | use libc::c_char; | 1 | use std::os::raw::c_char; | error: aborting due to 2 previous errors Some errors occurred: E0412, E0433. For more information about an error, try `rustc --explain E0412`. error: Could not compile `openssl`. warning: build failed, waiting for other jobs to finish... ``` this patch fixes the problem | ||||
| * | Merge pull request #943 from lolzballs/master | Steven Fackler | 2018-06-17 | 3 | -4/+128 |
| |\ | | | | | Add wrapper for SSL_CTX_set_psk_server_callback | ||||
| | * | Disable TLSv1.3 for psk_ciphers test | Benjamin Cheng | 2018-06-17 | 1 | -0/+7 |
| | | | |||||
| | * | Ensure psk test callbacks are called | Benjamin Cheng | 2018-06-02 | 1 | -0/+6 |
| | | | |||||
| | * | push PSK callback errors onto ErrorStack | Benjamin Cheng | 2018-06-02 | 1 | -2/+8 |
| | | | |||||
| | * | Change psk test cipher to PSK-AES128-CBC-SHA | Benjamin Cheng | 2018-06-02 | 1 | -2/+3 |
| | | | | | | | | | Hopefully it works on CI servers now | ||||
| | * | Use is_null() | Benjamin Cheng | 2018-06-02 | 1 | -1/+1 |
| | | | |||||
| | * | add test for psk; deprecated set_psk_callback | Benjamin Cheng | 2018-06-02 | 2 | -0/+47 |
| | | | |||||
| | * | Merge remote-tracking branch 'origin/master' | Benjamin Cheng | 2018-06-02 | 6 | -515/+768 |
| | |\ | |||||
| | * | | Add wrapper for SSL_CTX_set_psk_server_callback | Benjamin Cheng | 2018-05-16 | 2 | -3/+60 |
| | | | | |||||
| * | | | Switch to accessors in libressl where possible | Steven Fackler | 2018-06-09 | 2 | -38/+41 |
| | | | | | | | | | | | | | | | | | | | | | | Some accessors are mysteriously still macros so we can't make everything opaque yet, unfortunately. cc #909 | ||||
| * | | | Add SslRef::set_alpn_protos | Steven Fackler | 2018-06-04 | 1 | -0/+26 |
| | | | | |||||
| * | | | Update to 1.1.1-pre7 | Steven Fackler | 2018-06-02 | 2 | -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. | ||||
| * | | Add SslRef::verified_chain | Steven Fackler | 2018-05-29 | 1 | -8/+26 |
| | | | |||||
| * | | Rename X509Ref::fingerprint to X509Ref::digest and avoid allocating | Steven Fackler | 2018-05-24 | 1 | -6/+6 |
| | | | |||||
| * | | Don't panic on bogus servernames | Steven Fackler | 2018-05-24 | 1 | -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_finished | Steven Fackler | 2018-05-24 | 1 | -6/+46 |
| | | | | | | | | | These are used for the tls-unique SCRAM channel binding mode. | ||||
| * | | Merge pull request #920 from Ralith/max-early-data-accessors | Steven Fackler | 2018-05-22 | 1 | -1/+186 |
| |\ \ | | | | | | | TLS1.3 early data support | ||||
| | * | | Expose early I/O | Benjamin Saunders | 2018-05-22 | 1 | -1/+89 |
| | | | | |||||
| | * | | Expose early keying material export | Benjamin Saunders | 2018-05-17 | 1 | -0/+27 |
| | | | | |||||
| | * | | Expose max TLS1.3 early data accessors | Benjamin Saunders | 2018-05-17 | 1 | -0/+70 |
| | |/ | |||||
| * | | Revert "Move proto version accessors to SslContextRef" | Steven Fackler | 2018-05-20 | 1 | -52/+44 |
| | | | |||||
| * | | Move proto version accessors to SslContextRef | Steven Fackler | 2018-05-20 | 1 | -44/+52 |
| | | | | | | | | | Add a Derf impl for SslContextBuilder so existing use still works. | ||||
| * | | Improve error Display impls | Steven Fackler | 2018-05-20 | 1 | -8/+9 |
| | | | |||||
| * | | Support ALPN on libressl | Steven Fackler | 2018-05-20 | 3 | -17/+21 |
| | | | | | | | | | Closes #690 | ||||
| * | | Overhaul openssl cfgs | Steven Fackler | 2018-05-20 | 5 | -459/+438 |
| | | | | | | | | | Also expose hostname verification on libressl | ||||
| * | | Support min/max version in LibreSSL | Steven Fackler | 2018-05-19 | 2 | -16/+18 |
| |/ | | | | | Their implementations of the accessors don't behave expected with no bounds, so we ignore those bits of the tests. | ||||
| * | Merge Ssl impl blocks | Steven Fackler | 2018-05-12 | 1 | -57/+55 |
| | | |||||
| * | Clean up SSL callbacks | Steven Fackler | 2018-05-12 | 2 | -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.0 | Steven Fackler | 2018-05-12 | 2 | -1/+5 |
| | | | | | | They're flickering, and I'm assuming it's just because that version is so old. | ||||
| * | Change SslContext callback handling | Steven Fackler | 2018-05-12 | 2 | -240/+151 |
| | | | | | Use the existing infrastructure! | ||||
| * | Fix base version for min/max proto accessors | Steven Fackler | 2018-05-09 | 2 | -32/+49 |
| | | | | | Closes #911 | ||||
| * | Expose SslSession <-> DER conversion | Benjamin Saunders | 2018-04-29 | 1 | -0/+23 |
| | | |||||
| * | Some misc cleanup | Steven Fackler | 2018-04-27 | 1 | -60/+81 |
| | | |||||
| * | Merge pull request #858 from Ralith/stateless-api | Steven Fackler | 2018-03-31 | 3 | -41/+331 |
| |\ | | | | | Introduce SslStreamBuilder | ||||
| | * | Add test for stateless connection | Benjamin Saunders | 2018-03-28 | 1 | -2/+119 |
| | | | |||||
| | * | Introduce SslStreamBuilder | Benjamin Saunders | 2018-03-28 | 1 | -34/+114 |
| | | | |||||
| | * | Update to OpenSSL 1.1.1-pre3 | Benjamin Saunders | 2018-03-28 | 2 | -5/+98 |
| | | | |||||
| * | | Clean up a couple of holdovers from old features | Steven Fackler | 2018-03-29 | 2 | -14/+10 |
| |/ | |||||
| * | Remove version-specific features | Steven Fackler | 2018-03-19 | 4 | -143/+125 |
| | | | | | Closes #852 | ||||
| * | Expose additional cipher and digest accessors | Benjamin Saunders | 2018-03-16 | 1 | -0/+26 |
| | | |||||
| * | Add a Sync + Send bound to the custom ext type | Steven Fackler | 2018-03-11 | 2 | -38/+76 |
| | | | | | | It's stored inside of the Ssl, so this is probably tecnically necessarly? | ||||
| * | Merge branch 'master' into custom-extensions | Steven Fackler | 2018-03-11 | 1 | -0/+3 |
| |\ | |||||
| | * | Add one more set of impls | Steven Fackler | 2018-03-10 | 1 | -0/+3 |
| | | | |||||
| * | | Generic custom extension add fn return type | Benjamin Saunders | 2018-03-10 | 3 | -30/+30 |
| | | | |||||
| * | | High-level API for OpenSSL 1.1.1 custom extension support | Benjamin Saunders | 2018-03-09 | 3 | -0/+207 |
| |/ | |||||
| * | Add SslOptions::ENABLE_MIDDLEBOX_COMPAT | Benjamin Saunders | 2018-03-03 | 1 | -0/+7 |
| | | |||||
| * | Add min/max protocol version support | Steven Fackler | 2018-02-25 | 2 | -4/+133 |
| | | |||||