Steven Fackler
c706d91188
Fix EcdsaSig method flexibility
...
Closes #1323
2020-07-28 13:58:28 -04:00
Steven Fackler
5cf2c2d5f0
Fix clippy
2020-07-22 14:18:30 -06:00
Teddy Sudol
6f5ce4b49a
Fix documentation for unwrap_key
...
The documentation incorrectly stated the length requirements for the input parameters.
2020-07-03 15:39:04 -07:00
Steven Fackler
70b21ed671
Fix changelog
2020-06-25 18:24:07 -07:00
Steven Fackler
d8395ba415
Release openssl v0.10.30
2020-06-25 18:22:52 -07:00
Christopher Dumoulin
78c77b288c
Add SslStream::from_raw_parts
2020-06-23 15:27:42 +00:00
Florian Klink
3e12906302
sign.rs: fix typo in comment
2020-06-15 00:43:25 +02:00
Steven Fackler
7546bfd148
Ignore default verify paths test on windows
2020-06-06 13:58:44 -07:00
Steven Fackler
f042c21f93
Merge pull request #1282 from jsha/debug-everything
...
Add Debug trait for X509 and other types.
2020-06-05 18:38:34 -04:00
Steven Fackler
65a3417994
Merge pull request #1288 from sgg/sgg/impl-Debug-SslConnector
...
Adds Debug derive for SslConnector
2020-06-05 18:27:12 -04:00
Steven Fackler
f658458c2f
Merge pull request #1290 from Leo1003/fix-dsa-private-pem
...
Fix private key serializtion in HasPublic impl for DsaRef
2020-06-05 18:27:04 -04:00
Steven Fackler
bcce90effe
Merge pull request #1289 from Leo1003/add_write_ec_pubkey
...
Add PEM/DER serialization for EC public key
2020-06-05 17:07:37 -04:00
Steven Fackler
24af7de14c
fix clippy
2020-06-05 13:33:13 -07:00
Leo
4469897ff9
Fix private key serializtion in HasPublic impl for DsaRef
2020-06-05 19:15:41 +08:00
Leo
7d129b6413
Add PEM/DER serialization for EC public key
2020-06-05 18:58:59 +08:00
Samani G. Gikandi
d5be3e5758
Adds Debug derive for SslConnector
2020-06-04 17:23:20 -07:00
Jacob Hoffman-Andrews
cbfdaa516d
Fix test.
2020-06-03 23:32:03 -07:00
Jacob Hoffman-Andrews
aedbe6537b
Make tests narrower.
...
Evidently the behavior on different platforms is different with regards
to whether the final element in a list gets a comma or not, so we can't
do a fully-string comparison of the debug output.
2020-06-03 21:30:15 -07:00
Jacob Hoffman-Andrews
01e229346c
Write "error" when there is an error.
2020-06-01 18:29:50 -07:00
Jacob Hoffman-Andrews
1aff5b9198
Fixes in response to review feedback.
2020-05-31 20:03:37 -07:00
Jacob Hoffman-Andrews
6482f419b8
Add Debug trait for X509 and other types.
...
This currently leaves out at least two useful things:
- The detailed SubjectPublicKeyInfo, e.g. the modulus of RSA keys.
- Extensions.
2020-05-30 17:20:55 -07:00
Steven Fackler
e851708589
Add SslRef::set_mtu
2020-05-25 17:22:24 -07:00
Steven Fackler
f401ba2ec1
Run clippy
2020-05-24 16:31:04 -07:00
Steven Fackler
406031991f
Run rustfmt on github actions
2020-05-24 10:39:01 -07:00
Henrik Böving
33f06b767f
remove any from openssl110 cfgs
2020-05-09 21:26:44 +02:00
Henrik Böving
f34e9b993d
ocb is only available in openssl 1.1 and later
2020-05-09 01:02:34 +02:00
Henrik Böving
963e3994a5
Add support for AES-OCB mode
2020-05-08 23:16:13 +02:00
Kirill Fomichev
5d7d83e869
Fix function name in peer_finished documentation
2020-04-12 16:20:13 +03:00
Steven Fackler
d47dc792ce
Release openssl v0.10.29
2020-04-07 18:00:49 -07:00
Steven Fackler
1ed175f85f
FIx build
2020-04-07 17:39:56 -07:00
Steven Fackler
40e66bab6b
Add SslContextBuilder::set_cert_store
2020-04-07 17:05:38 -07:00
Steven Fackler
b027f16031
Merge pull request #1253 from coolreader18/no-vendor-env-var
...
Check for the OPENSSL_NO_VENDOR environment variable
2020-04-05 10:01:28 -04:00
Steven Fackler
517fc81d40
Update openssl/src/lib.rs
2020-04-05 09:52:20 -04:00
Noah
d6772960a3
Add documentation for OPENSSL_NO_VENDOR
2020-04-04 21:18:20 -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
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
e268a5ac7e
Check null ptr for non-x509 X509Object
2020-03-23 10:20:30 -05:00
Noah
8cfb59b9ea
Add a way to get the certificates stored in an X509Store
2020-03-22 23:20:59 -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
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
Nipunn Koorapati
16d93a9372
Allow bad style on pkey.rs
2020-02-11 14:28:53 -08: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