Commit Graph

3369 Commits

Author SHA1 Message Date
Steven Fackler af0835a8fd Releaes v0.3.4 2015-02-11 19:59:23 -08:00
Steven Fackler afbbded27b Merge pull request #158 from quentinbaradat/master
Fix the target for windows
2015-02-11 19:58:20 -08:00
Quentin Baradat e11bfa6f0c Fix a bad fix :) 2015-02-11 21:29:07 +01:00
Quentin Baradat 5adb3f397a Fix the target for windows 2015-02-11 20:41:13 +01:00
Steven Fackler ee66da6060 More test fixes 2015-02-09 21:50:58 -08:00
Steven Fackler ffeeea52b7 Derp 2015-02-09 20:02:14 -08:00
Steven Fackler ba7141b4b5 Don't test with features enabled on OSX 2015-02-09 19:48:29 -08:00
Steven Fackler 4e4e204f6e Enable multi OS builds 2015-02-09 19:42:20 -08:00
Steven Fackler a68a74ff6b Release v0.3.3 2015-02-09 00:05:48 -08:00
Steven Fackler 2682d4f2ba Always build shim 2015-02-09 00:04:44 -08:00
Steven Fackler 5f6d98adc3 Release v0.3.2 2015-02-08 23:40:11 -08:00
Steven Fackler 6ef819f971 Fix builds against 0.9.x OpenSSL
Namely builds on OSX
2015-02-08 23:31:46 -08:00
Steven Fackler b41f3dd72f Merge pull request #156 from s-panferov/patch-1
Add info about OS X to the README
2015-02-08 21:59:51 -08:00
Steven Fackler ad476f25c7 Fix test 2015-02-07 21:55:07 -08:00
Steven Fackler 0894efc3ff Fix stuff 2015-02-07 21:48:03 -08:00
Steven Fackler 764d25bb86 Fix travis.yml 2015-02-07 21:44:09 -08:00
Steven Fackler 6f10585593 Build fixes 2015-02-07 21:39:51 -08:00
Steven Fackler ec65b0c67b Move docs to this repo and auto build 2015-02-07 21:30:05 -08:00
Stanislav Panferov 6a040b3b71 Add info about OS X to the README 2015-02-07 15:47:02 +03:00
Steven Fackler d06f226b3f Fix deprecation warnings in openssl-sys 2015-02-05 21:04:18 -08:00
Steven Fackler 7b8aa9b915 Release v0.3.1 2015-02-03 10:11:01 -08:00
Steven Fackler 361e5f44fa Move openssl-sys build.rs 2015-02-03 10:04:37 -08:00
Steven Fackler 2864db42af Merge pull request #153 from mbrubeck/android
Don't bail out of openssl-sys build config when targeting Android
2015-02-03 13:03:53 -05:00
Matt Brubeck 96a3ac2644 Don't bail out when targeting Android 2015-02-03 09:23:15 -08:00
Steven Fackler e4eedbd536 Release v0.3.0 2015-02-03 09:07:16 -08:00
Steven Fackler 7327d3f334 Merge pull request #152 from gkoz/std_stability
Chase std API stability changes
2015-02-03 11:54:29 -05:00
Gleb Kozyrev ce427edb08 Chase std API stability changes 2015-02-03 18:22:40 +02:00
Steven Fackler 94ff4cc7ae Merge pull request #150 from gkoz/show_debug
Derive Debug instead of deprecated Show
2015-02-01 08:36:37 -08:00
Steven Fackler 0638c8d793 Merge pull request #151 from gkoz/std_stability_warns
Declare the use of unstable libstd APIs
2015-02-01 08:36:16 -08:00
Gleb Kozyrev 2bcd67f568 Declare the use of unstable libstd APIs 2015-02-01 14:56:07 +02:00
Gleb Kozyrev 4546f6d7d3 Derive Debug instead of deprecated Show 2015-02-01 14:40:00 +02:00
Steven Fackler 89c3eaf483 Fix for stability changes 2015-01-29 09:05:19 -08:00
Steven Fackler 3a4691a8d5 Merge pull request #149 from gkoz/hashers_double_fin
Avoid duplicate calls to *_Final when dropping Hasher and HMAC
2015-01-29 12:02:45 -05:00
Gleb Kozyrev 4bd7ed8a39 Avoid duplicate calls to *_Final when dropping Hasher and HMAC
An assertion triggered in finalize() would lead to drop() erroneously redoing the finalization. Set the state to Finalized unconditionally to prevent this.
2015-01-29 17:50:10 +02:00
Steven Fackler 8b47daae66 Merge pull request #141 from gkoz/borrow_mut
Improve Hasher and HMAC APIs
2015-01-28 13:02:55 -08:00
Gleb Kozyrev 71f8420205 Rename crypto:#️⃣:HashType -> Type
s/HashType/Type/ to follow the current Rust style. Import Type as HashType in modules where the name might be ambiguous.
[breaking change]
2015-01-28 21:51:12 +02:00
Gleb Kozyrev eb7b7bf847 Change Hasher and HMAC APIs closer to std::hash model
- Implement Clone and std::io::Writer.
- Reduce the API to write() and finish(). Contrary to std::hash, finish() resets the hasher immediately.
- Add hmac::hmac() convenience fn.
- Replace hash::evpmd() with HashType methods.
- Add assertions as a crude check for failed calls into openssl.
- Add examples and some tests.

[breaking-change]
2015-01-28 21:51:12 +02:00
Steven Fackler 8fe0633917 Release v0.2.18 2015-01-28 08:48:07 -08:00
Steven Fackler 030cf5fe88 Fix for IO changes 2015-01-28 08:47:16 -08:00
Steven Fackler cfe9df78fa Release v0.2.17 2015-01-23 10:22:11 -08:00
Steven Fackler 0a258a0a21 Fix for upstream changes 2015-01-23 10:21:08 -08:00
Steven Fackler 0afb82bc4b Merge pull request #145 from gkoz/ffi_fixes
Bring ffi definitions closer to the originals
2015-01-21 12:27:01 -08:00
Gleb Kozyrev cb0898df37 Bring ffi definitions closer to the originals
Add missing return types and fix imprecise type translations.
Repair the fallout in the openssl crate.
2015-01-21 21:56:56 +02:00
Steven Fackler 1a60bccb6a Release v0.2.16 2015-01-16 22:31:07 -08:00
Steven Fackler 65c1079a54 Drop execute bits on source files 2015-01-16 22:25:01 -08:00
Steven Fackler a73e982024 Merge pull request #142 from akiss77/pr-u8-c_char
Fix ffi: `BN_hex2bn` and `BN_dec2bn` shall take `*const c_char` as parameter
2015-01-12 13:46:47 -08:00
Akos Kiss c49816055a Fix ffi: `BN_hex2bn` and `BN_dec2bn` shall take `*const c_char` as parameter
`c_char` is not `i8` on all platforms
2015-01-12 20:44:59 +00:00
Steven Fackler 2f5d1e579b Add Show impls 2015-01-09 20:18:32 -08:00
Steven Fackler 5a153e9ead Fix doctest 2015-01-09 10:10:03 -08:00
Steven Fackler 74bba7d58a Merge pull request #140 from alexcrichton/update
Update to rust master
2015-01-09 10:07:03 -08:00