Oussama Gammoudi
0f02a8b61d
Add pkg-config
...
error: failed to run custom build command for `openssl-sys v0.9.13`
run pkg_config fail: "Failed to run `\"pkg-config\" \"--libs\" \"--cflags\" \"openssl\"`: No such file or directory (os error 2)"
Problem encountered on WSL (Ubuntu on windows).
Fixed by installing pkg-config
2017-06-03 16:21:50 +01:00
Steven Fackler
3028958bf6
Little docs fix
2017-05-29 21:11:49 -07:00
Steven Fackler
c89af1d5f8
Add a fixme
2017-05-29 18:04:32 -07:00
Steven Fackler
cba475b9ae
Release v0.9.13
2017-05-29 17:46:07 -07:00
Steven Fackler
224de2f258
Merge pull request #639 from golem131/dependency_update
...
Update bitflags 0.8 -> 0.9
2017-05-26 21:28:33 -07:00
golem131
27728f6fd9
Update bitflags 0.8 -> 0.9
2017-05-22 12:44:22 +03:00
Steven Fackler
52e82faa47
Merge pull request #638 from sfackler/110-sync-fix
...
Explicitly initialize OpenSSL 1.1.0
2017-05-20 19:59:52 -04:00
Steven Fackler
61c9ffddb6
Explicitly initialize OpenSSL 1.1.0
2017-05-20 16:01:53 -07:00
Steven Fackler
7d587e2c93
Rustfmt
2017-05-20 15:53:45 -07:00
Steven Fackler
4336d1d38c
Release v0.9.12
2017-05-12 11:47:46 -07:00
Steven Fackler
6c152e96eb
Merge pull request #636 from sfackler/libressl-fix
...
Fix LibreSSL versions other than 2.5.0
2017-05-12 11:46:01 -07:00
Steven Fackler
d27cc18b90
Test LibreSSL 2.5.4
2017-05-12 11:16:25 -07:00
Steven Fackler
f2ecdbe709
Fix support for LibreSSL versions other than 2.5.0
2017-05-12 11:16:25 -07:00
Steven Fackler
b01743e207
Merge pull request #635 from mcgoo/fix_cacert_pem_download
...
use appveyor DownloadFile to download cacert.pem
2017-05-12 09:56:06 -07:00
Jim McGrath
7dd78a67c9
use appveyor DownloadFile to download cacert.pem
2017-05-12 11:36:58 -05:00
Steven Fackler
fd62d146ac
Drop x86 macOS build
...
It's not supported by Homebrew anymore and it's not clear that anyone
really cares about that target at all.
2017-05-06 20:03:47 -07:00
Steven Fackler
1fa7397b88
Set LD_LIBRARY_PATH when using custom build
2017-05-06 18:50:44 -07:00
Steven Fackler
67b5fd1c97
Support public key decode from DER
...
Closes #629
2017-05-06 16:40:33 -07:00
Steven Fackler
0efef98848
Add a note to rename variant
2017-05-06 16:35:55 -07:00
Steven Fackler
78c82fa3ee
Merge pull request #627 from jethrogb/patch-1
...
Clarify use of ssl::HandshakeError::Interrupted
2017-05-03 12:19:36 -07:00
jethrogb
dd3896fdc5
Clarify use of ssl::HandshakeError::Interrupted
2017-05-03 12:03:18 -07:00
Steven Fackler
2fd7354c38
Merge pull request #618 from sfackler/sha
...
Expose the lower level SHA functions
2017-04-15 10:05:13 -07:00
Steven Fackler
7e8a0a0dad
Expose the lower level SHA functions
...
These don't allocate so they're both infallible and significantly
faster.
2017-04-14 23:03:17 -07:00
Steven Fackler
429f7c869e
Release v0.9.11
2017-04-14 16:56:21 -07:00
Steven Fackler
fd6a1f70bd
Merge pull request #616 from sfackler/no-alloc
...
Don't force allocation for message digests
2017-04-13 19:37:11 -07:00
Steven Fackler
4cf9f6c4c0
Don't force allocation for message digests
2017-04-13 19:02:31 -07:00
Steven Fackler
174617340a
Merge pull request #615 from ajroetker/issue-600/avoid_compiling_ec_code_against_no-ec2m_openssl
...
(issues-600) Avoid compiling ec code against no-ec2m openssl
2017-04-13 16:17:09 -07:00
Andrew Roetker
b21046375a
(issues-600) Avoid compiling ec2m code against no-ec2m openssl
...
This commit avoids defining code that leads to undefined references when
compiling against an openssl built with no-ec2m.
2017-04-11 15:42:05 -07:00
Steven Fackler
3439ec6f41
Merge pull request #613 from aosmond/add_evp_pkey_derive
...
Add new EC/PKEY methods to permit deriving shared secrets.
2017-04-11 10:04:57 -07:00
Andrew Osmond
e6a6ebb87d
Add new EC/PKEY methods to permit deriving shared secrets.
2017-04-10 15:40:36 -04:00
Steven Fackler
fc1bcecfc1
Don't exclude test data from package
...
Closes #612
2017-04-04 09:06:32 -07:00
Steven Fackler
73d4743a80
Merge pull request #611 from ignatenkobrain/patch-1
...
bump bitflags to 0.8
2017-04-03 14:47:15 -07:00
Igor Gnatenko
af25627fdf
bump bitflags to 0.8
2017-04-03 23:04:23 +02:00
Steven Fackler
4f9da8dfc9
Merge pull request #608 from BusyJay/master
...
show help message when pkg-config is missing
2017-03-29 09:16:13 -07:00
Jay Lee
7c24224394
show help message when pkg-config is missing
2017-03-29 19:25:00 +08:00
Steven Fackler
42ad50ae67
Release v0.9.10
2017-03-26 10:49:04 -07:00
Steven Fackler
ba2460d38d
Merge pull request #606 from cjcole/master
...
Fix order of arguments to BN_rand_range and BN_pseudo_rand_range
2017-03-26 05:01:29 +01:00
Steven Fackler
d66d84b2f5
Merge pull request #607 from sfackler/set-session
...
Logic to support client-side session reuse
2017-03-26 04:35:02 +01:00
Steven Fackler
c8d1698f27
Logic to support client-side session reuse
2017-03-25 19:30:01 -07:00
Chris Cole
d239e04c70
Fix order of arguments to BN_rand_range and BN_pseudo_rand_range
2017-03-25 12:29:18 -04:00
Steven Fackler
3aec0a38bf
Merge pull request #601 from pgerber/double_unlock
...
Panic if lock managed by `locking_function` is doubly unlocked
2017-03-17 11:32:02 -07:00
Peter Gerber
f82f650953
Panic if lock managed by `locking_function` is doubly unlocked
...
Trying to unlock an unlocked lock is always an error and should
be treated as such.
This is related to #597 .
2017-03-16 22:14:58 +00:00
Steven Fackler
bf63f35dfb
Release v0.9.9
2017-03-14 12:55:36 -07:00
Steven Fackler
7f2a8671d8
Merge pull request #598 from ajroetker/maint/recreate_ability_to_pass_in_OPENSSL_LIBS
...
(maint) Recreate ability to pass in OPENSSL_LIBS variable
2017-03-14 10:30:08 -07:00
Andrew Roetker
663547a758
(maint) Recreate ability to pass in OPENSSL_LIBS variable
...
Prior to this commit in 43c951f743 the
ability to pass OPENSSL_LIBS was removed from the build.rs of
openssl-sys. This commit adds the ability to pass custom names for the
OPENSSL_LIBS back in. This is useful for when building openssl across
linux and windows with the same lib names (ssl:crypto) and the default
names provided by the build script are not valid.
2017-03-13 19:18:54 -06:00
Steven Fackler
06b10a5753
Release v0.9.8
2017-03-09 20:33:17 +11:00
Steven Fackler
efe96396ad
Merge pull request #592 from Byron/master
...
Fix for len() == isize::max() for stacks that are unallocated
2017-03-09 20:28:42 +11:00
Sebastian Thiel
463db85110
Don't allow Stacks to be allocated with a null-ptr
...
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.
2017-03-07 07:39:25 +01:00
Steven Fackler
97536a9b82
Merge pull request #585 from bluejekyll/master
...
some helpful documentation and example on set_subject_name()
2017-03-07 13:19:52 +11:00
Sebastian Thiel
ec2685347c
Fix for empty stacks
...
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.
2017-03-06 10:14:39 +01:00