| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix get session callback | Steven Fackler | 2018-09-17 | 1 | -1/+1 |
| | | | | | | This could previously open up the possibility of a double-free! Closes #996 | ||||
| * | Support the client hello callback | Steven Fackler | 2018-09-15 | 4 | -1/+247 |
| | | |||||
| * | Fix typo | 李伟 | 2018-09-13 | 1 | -1/+1 |
| | | | | | Fix typo in docs for openssl::rsa::Rsa::from_private_components | ||||
| * | Support libressl 2.8.0 | Steven Fackler | 2018-09-12 | 1 | -9/+14 |
| | | | | | Closes #988 | ||||
| * | clean up example | Steven Fackler | 2018-09-02 | 1 | -4/+3 |
| | | |||||
| * | Small cleanup | Steven Fackler | 2018-09-02 | 2 | -15/+12 |
| | | | | | Closes #981 | ||||
| * | Fix lookup errors with SNI callback. | Steven Fackler | 2018-08-31 | 3 | -14/+59 |
| | | | | | | | | | | | | | | | | | | The job of an SNI callback is typically to swap out the context associated with an SSL depending on the domain the client is trying to talk to. Typically, only the callbacks associated with the current context are used, but this is not the case for the SNI callback. If SNI is run for a second time on a connection (i.e. in a renegotiation) and the context was replaced with one that didn't itself register an SNI callback, the old callback would run but wouldn't be able to find its state in the context's ex data. To work around this, we pass the pointer to the callback data directly to the callback to make sure it's always available. It still lives in ex data to handle the lifetime management. Closes #979 | ||||
| * | Fix doc reference | Steven Fackler | 2018-08-19 | 1 | -2/+2 |
| | | |||||
| * | SRTP cleanup | Steven Fackler | 2018-08-19 | 3 | -44/+40 |
| | | |||||
| * | Add methods for DTLS/SRTP key handshake | Aron Wieck | 2018-08-14 | 4 | -0/+264 |
| | | |||||
| * | Add get_shutdown and set_shutdown | Steven Fackler | 2018-08-08 | 2 | -13/+62 |
| | | |||||
| * | 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 | ||||
| * | Fix tests when built with no-ec2m | Steven Fackler | 2018-07-29 | 1 | -8/+4 |
| | | | | | | | | The other curve identifier isn't valid, at least in some contexts so just ignore the test in those cases. Closes #964 | ||||
| * | SslSessionRef methods return static strings | Steven Fackler | 2018-07-19 | 1 | -3/+6 |
| | | | | | Closes #961 | ||||
| * | Fix spelling in symm docs | Josh Abraham | 2018-07-14 | 1 | -1/+1 |
| | | |||||
| * | Merge pull request #937 from marcoh00/iterable-x509names | Steven Fackler | 2018-07-07 | 2 | -7/+64 |
| |\ | | | | | X509NameRef: Provide an iterator over all entries | ||||
| | * | Only grab the name entry count when needed | Steven Fackler | 2018-06-26 | 1 | -3/+1 |
| | | | |||||
| | * | Rename X509NameRef::all_entries and refactor end-of-iterator checks | Marco Huenseler | 2018-06-03 | 2 | -6/+8 |
| | | | |||||
| | * | Provide an Asn1Object getter method for X509NameEntryRef | Marco Huenseler | 2018-06-03 | 2 | -0/+16 |
| | | | |||||
| | * | Make X509NameRef provide an iterator over all X509NameEntries | Marco Huenseler | 2018-06-03 | 2 | -5/+46 |
| | | | |||||
| * | | Clean up IGE example | Steven Fackler | 2018-07-04 | 1 | -22/+11 |
| | | | | | | | | | Closes #955 | ||||
| * | | Merge pull request #950 from WanzenBug/master | Steven Fackler | 2018-06-23 | 1 | -4/+193 |
| |\ \ | | | | | | | Add access to private/public components of DSA key pairs. | ||||
| | * | | Simplify DSA from private components | Moritz Wanzenböck | 2018-06-23 | 1 | -8/+17 |
| | | | | |||||
| | * | | Fix fallback implementation of DSA utility methods | Moritz Wanzenböck | 2018-06-18 | 1 | -6/+6 |
| | | | | |||||
| | * | | Add tests for DSA key pairs | Moritz Wanzenböck | 2018-06-18 | 1 | -0/+72 |
| | | | | |||||
| | * | | Add Dsa::from_(private|public)_components | Moritz Wanzenböck | 2018-06-18 | 1 | -10/+76 |
| | | | | | | | | | | | | | Add 2 methods to create a DSA key pair from its raw components. | ||||
| | * | | Add methods to access private and public part of DSA keys | Moritz Wanzenböck | 2018-06-18 | 1 | -1/+43 |
| | | | | |||||
| * | | | 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 | 27 | -996/+1454 |
| | |\ \ | |||||
| | * | | | 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 | 9 | -68/+75 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | | fix build on older rustc | Steven Fackler | 2018-06-01 | 1 | -1/+1 |
| | | | |||||
| * | | Adjust Nid signature algorithm APIs | Steven Fackler | 2018-06-01 | 1 | -19/+56 |
| | | | |||||
| * | | Fix types | Steven Fackler | 2018-06-01 | 1 | -6/+9 |
| | | | |||||
| * | | Fix use-after-free in cms | Steven Fackler | 2018-06-01 | 1 | -15/+7 |
| | | | | | | | | | Closes #941 | ||||
| * | | Add SslRef::verified_chain | Steven Fackler | 2018-05-29 | 2 | -14/+30 |
| | | | |||||
| * | | rewrite Nid::{long_name,short_name} to return Results instead of Options | Marco Huenseler | 2018-05-28 | 1 | -29/+22 |
| | | | |||||
| * | | Get Nid string representations | Marco Huenseler | 2018-05-28 | 1 | -0/+69 |
| | | | |||||
| * | | Rename X509Ref::fingerprint to X509Ref::digest and avoid allocating | Steven Fackler | 2018-05-24 | 5 | -34/+47 |
| | | | |||||
| * | | Add some digest support | Steven Fackler | 2018-05-24 | 2 | -3/+56 |
| | | | |||||
| * | | 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 | ||||