Noah
d6772960a3
Add documentation for OPENSSL_NO_VENDOR
2020-04-04 21:18:20 -05:00
Noah
830658ec0b
Add OPENSSL_NO_VENDOR env var check
2020-04-04 21:15:27 -05:00
Steven Fackler
2cbc436b8b
Merge pull request #1248 from coolreader18/ssl-functions
...
Add functions for SSL{_CTX}_get_verify_mode and SSL_is_init_finished
2020-03-26 20:52:42 -04:00
Steven Fackler
ef369f827e
Merge pull request #1249 from coolreader18/more-ssl-method
...
Add SslMethod::tls_{client,server}
2020-03-25 20:57:23 -04:00
Noah
354a984a7c
Add SslMethod::tls_{client,server}
2020-03-24 21:56:04 -05:00
Steven Fackler
e450f3fee0
Update openssl/src/ssl/mod.rs
2020-03-24 19:27:04 -04:00
Steven Fackler
7c4986aae2
Merge pull request #1247 from coolreader18/x509-store-certs
...
Add a way to get the certificates stored in an X509Store
2020-03-24 19:26:31 -04:00
Noah
f572a8306b
Add man page links
2020-03-24 17:01:14 -05:00
Steven Fackler
29f62786ff
Update openssl/src/x509/store.rs
2020-03-24 17:20:54 -04:00
Noah
1e9cc8426e
Add functions for SSL{_CTX}_get_verify_mode and SSL_is_init_finished
2020-03-24 15:32:39 -05:00
Noah
41162e27ab
Add a shim for X509_STORE_get0_objects and X509_OBJECT_free
2020-03-24 12:33:54 -05:00
Noah
5c6179ce07
Only have constants on < ossl110
2020-03-23 17:04:31 -05:00
Noah
59bff6de85
Skip X509_OBJECT_data systests
2020-03-23 17:04:30 -05:00
Noah
0769ca54fd
Add x509_vfy.h header to systest
2020-03-23 10:23:28 -05:00
Noah
e268a5ac7e
Check null ptr for non-x509 X509Object
2020-03-23 10:20:30 -05:00
Noah
dfb3cb9579
Fix signedness issue
2020-03-23 10:17:02 -05:00
Noah
8cfb59b9ea
Add a way to get the certificates stored in an X509Store
2020-03-22 23:20:59 -05:00
Steven Fackler
dbc5459d63
Merge pull request #1246 from mneumann/fix-build-on-dragonflybsd
...
Fix build on DragonFly
2020-03-21 10:30:06 -04:00
Michael Neumann
6254c1881b
Fix build on DragonFly
...
DragonFly has libressl/openssl in ports (/usr/local). With this commit,
rust-openssl builds out of the box given that either libressl or openssl is
installed (which is usually the case).
Tested on DragonFly 5.9-DEVELOPMENT with libressl-3.0.2.
2020-03-21 12:46:59 +01:00
Steven Fackler
1994a523dc
Upgrade CI versions
2020-03-19 16:13:17 -07:00
Steven Fackler
614e739ef0
Merge pull request #1241 from adrian-budau/master
...
Fix the memory leak in `X509Builder::append_extension`.
2020-02-26 10:13:16 -05:00
Adrian Budau
e7d0e69c74
Fix the memory leak in `X509Builder::append_extension`.
...
Also add an alternative method that takes a `X509ExtensionRef`.
2020-02-26 16:23:46 +02:00
Steven Fackler
99d63acb33
Merge pull request #1238 from mcgoo/master
...
use library names supplied by vcpkg
2020-02-26 07:14:28 -05:00
Jim McGrath
03b8b29e4c
use library names supplied by vcpkg
2020-02-26 00:04:16 -06:00
Steven Fackler
7801226796
Tweak interface a bit
2020-02-12 16:14:28 -08:00
Steven Fackler
eed35cefb0
Merge pull request #1229 from axos88/master
...
SslAcceptor and SslConnector: Ability to turn into SslContext
2020-02-12 19:10:01 -05:00
Akos Vandra
c81810d869
adds ability access the internal &SslContext of an SslAcceptor and SslConnector
2020-02-12 22:15:11 +01:00
Steven Fackler
2dec15dbaa
Merge pull request #1232 from rbtying/warn_non_snake
...
Allow bad style on EVP_PKEY_up_ref in pkey.rs
2020-02-11 19:18:27 -05:00
Nipunn Koorapati
16d93a9372
Allow bad style on pkey.rs
2020-02-11 14:28:53 -08:00
Steven Fackler
ec46d27f83
Merge pull request #1231 from rbtying/allow_deprecated
...
Attach cfg[allow_deprecated] to methods w/ uninitialized functionality
2020-02-11 01:49:16 +00:00
Nipunn Koorapati
4898f60e52
Attach cfg[allow_deprecated] to methods w/ uninitialized functionality
...
Additionally - update usage of ONCE_INIT
2020-02-10 12:53:51 -08:00
Steven Fackler
62187377b5
Release openssl v0.10.28
2020-02-04 21:58:26 +00:00
Steven Fackler
4b1564ebc1
Fix mutability of oneshot sign/verify methods
2020-02-04 21:50:40 +00:00
Steven Fackler
972c7ae11a
Fix visibility of Signer::new_intern
2020-02-03 16:18:23 +00:00
Steven Fackler
61d5a1e38d
Release openssl v0.10.27
2020-01-29 15:40:05 -08:00
Steven Fackler
e02d85c799
Fix changelog
2020-01-29 15:37:46 -08:00
Steven Fackler
216ffd0791
Release openssl-sys v0.9.54
2020-01-29 15:36:49 -08:00
Steven Fackler
6f4a592a2c
Merge pull request #1225 from kubo39/no-renegotiation-option
...
Add NO RENEGOTIATION option
2020-01-27 14:49:37 -05:00
Hiroki Noda
9189b67326
Add NO RENEGOTIATION option
...
SSL_OP_NO_RENEGOTIATION was added in OpenSSLv1.1.1 and backported to
v1.1.0h.
2020-01-28 04:07:38 +09:00
Steven Fackler
bb1cf5ef19
Merge pull request #1222 from kubo39/EVP-APIs-encrypt-and-decrypt
...
Add EVP_EncryptInit_ex/EVP_EncryptFinish_ex, and the equivalently named
2020-01-27 08:55:44 -05:00
Hiroki Noda
78c1e2409d
Add EVP_EncryptInit_ex/EVP_EncryptFinish_ex, and the equivalently named
...
decrypt functions
Some functions including low level AES functions would be deprecated
in next OpenSSL version(3.0).
OpenSSL team says that application should use the high level EVP APIs,
so I added these functions.
See also:
https://github.com/openssl/openssl/pull/10580
https://github.com/openssl/openssl/pull/10740
2020-01-25 00:49:47 +09:00
Steven Fackler
ad37e7e07d
Merge pull request #1160 from HyeonuPark/set-dtls-mtu
...
Add ssl::set_dtls_mtu_size(usize)
2020-01-13 12:53:23 -05:00
Steven Fackler
eda3ada731
Merge pull request #1219 from alex/patch-1
...
Update to autocfg 1.0
2020-01-10 07:16:34 -05:00
Alex Gaynor
9e6e36417d
Update to autocfg 1.0
2020-01-09 23:12:01 -05:00
Hyeonu Park
4d5e5e1787
add SslStreamBuilder::set_dtls_mtu_size(usize)
2019-12-29 04:17:00 +09:00
Steven Fackler
dfd9dfb289
Merge pull request #1216 from kentfredric/bug-1215
...
Avoid false-failures if underlying network connection errors
2019-12-27 09:26:41 -08:00
Kent Fredric
bba670dc90
Avoid false-failures if underlying network connection errors
...
In Air-Gapped or otherwise network-restricted environments,
TcpStream::connect can spuriously fail due to name resolution
failure, or just in establishing the socket itself.
In this situation, the test can't give a meaningful result, and this
failure doesn't indicate a problem in the OpenSSL stack.
Bug: https://github.com/sfackler/rust-openssl/issues/1215
2019-12-27 21:15:39 +13:00
Steven Fackler
9b2eced529
Upgrade 1.0.2 in CI
2019-12-24 09:12:40 -08:00
Steven Fackler
4a05dc7894
Merge pull request #1205 from npmccallum/modernize
...
Fix warnings on newer Rust
2019-12-24 07:48:04 -08:00
Steven Fackler
abc46f599e
Merge pull request #1210 from AnderEnder/remove-deprecated-error-description
...
Remove deprecated Error::description and Error::cause
2019-12-21 19:42:35 -05:00