aboutsummaryrefslogtreecommitdiff
path: root/openssl/src/stack.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add support for OpenSSL 1.1.10.9.xTatsuyuki Ishi2018-09-251-1/+1
|
* Convert try! usage to ?johnthagen2017-10-031-3/+3
|
* Use foreign-type's OpaqueSteven Fackler2017-07-151-3/+1
|
* RustfmtSteven Fackler2017-07-151-4/+10
|
* Don't allow Stacks to be allocated with a null-ptrSebastian Thiel2017-03-071-11/+4
| | | | | | | | | | The latter must be seen as undefined behaviour, as it will cause the `sk_num` function to return -1 to indicate the error, which causes all kinds of issues. Thus there now is a panic to abort the program if stacks are initialized with a null-ptr, and special handling of that case when decoding a Pkcs file.
* Fix for empty stacksSebastian Thiel2017-03-061-2/+11
| | | | | | | | | | The culprit is that `sk_num(stack)` can return -1 as c_int if there is no stack allocated. Previously, thanks to unsafe casts, this would result in a isize::max() for len() and iteration size if there was no stack. Now this case is handled specifically, which fixes the issue.
* Merge remote-tracking branch 'origin/master' into x509-builderSteven Fackler2017-02-111-9/+11
|\
| * Switch to foreign_typesSteven Fackler2017-02-031-9/+8
| |
* | Add init calls to new constructorsSteven Fackler2016-11-071-0/+2
| |
* | Add stack creation and pushSteven Fackler2016-11-061-5/+24
|/
* Add Stack::popSteven Fackler2016-11-051-12/+13
|
* More cleanupSteven Fackler2016-11-051-8/+2
|
* Simplify destructor a bitSteven Fackler2016-11-051-4/+1
|
* Add a consuming iterator for StacksSteven Fackler2016-11-051-21/+70
|
* RustfmtSteven Fackler2016-11-051-10/+7
|
* Get rid of RefSteven Fackler2016-11-041-38/+44
| | | | | There's unfortunately a rustdoc bug that causes all methods implemented for any Ref<T> to be inlined in the deref methods section :(
* More minor cleanupSteven Fackler2016-11-011-11/+8
|
* Clean up stackSteven Fackler2016-11-011-22/+6
|
* Clean up stack destructorSteven Fackler2016-11-011-27/+14
|
* Implement a generic Stack API to deal with OpenSSL stacksLionel Flandrin2016-11-011-0/+319