421e784f235b52d7b4957055e186c518cf028929 |
|
01-Feb-2018 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib-ssl-iostream: Fix premature NULL deref
Broken in 4836d541b1c1354073e068aabe5cd92aa67fe61d
Found by coverity |
4836d541b1c1354073e068aabe5cd92aa67fe61d |
|
31-Jan-2018 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
ssl-iostream: ssl_iostream_destroy(NULL) should be a no-op |
bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
33631b9b711b95ee47bd4ddbdb419f46a12cebe4 |
|
28-Dec-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib-ssl-iostream: Add accessors for additional SSL protocol details
This is needed in order to send these details as fields to auth process |
976dee5384c4827dc648c9bc53825390521c388e |
|
11-Dec-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
Replace ssl_protocols config option with ssl_min_protocol
Default to TLSv1. |
b722fa7ac26c2c9bd7df553c40c1f6bca50062ac |
|
08-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-ssl-iostream: Simplify ssl_iostream_settings_equals() |
b583cc2e5453c7f6e2a4f6268cb6ccb3d356843d |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-ssl-iostream: Call ssl_iostream_context_cache_free() automatically at exit |
15aa67e8a9dd7fc631d58ce13c54fe004bb4d0c1 |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-ssl-iostream: Add io_stream_ssl_global_init() |
74b7b25c4ef1175fe1cd12fbd56a287b8c80595b |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-ssl-iostream: io_stream_create_ssl_client() - Move code to set verify_remote_cert=TRUE
Enable it in the generic SSL code instead of OpenSSL-specific code. |
14a07d2bb34f1d52fce3e3218799f271f118d501 |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-ssl-iostream: Add TLS SNI callback and a way to change SSL context |
6315f87da1b28578d2deb4d51aa624dc178efb0a |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-ssl-iostream: ssl_iostream_cert_match_name() - add reason_r parameter
The callers were also changed to add the reason to error messages. |
18344a653fb063e599e24d1e9f7d5db4d8fd7b45 |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-ssl-iostream: ssl_iostream_cert_match_name() - Change to return bool
The return value makes much more sense as a boolean TRUE/FALSE than 0/-1. |
85a594cdf83ecff5c1e37aee5a704e0b3599a3f9 |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-ssl-iostream: Add ssl_iostream_settings_drop_stream_only() |
1c1896564144f487fa5be3bd3ac5d7f1826311f7 |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-ssl-iostream: Add ssl_iostream_settings_equals() |
96359599bbd4a2d704c3f343ff4c2fcd03f0dd02 |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-ssl-iostream: Add refcounting to ssl_iostream_context |
15d19d6e4daf460d8d2c82b981e23996dbdf7ba5 |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Rename ssl_iostream_context_deinit() to ssl_iostream_context_unref() |
25aa88dd96482cb1a135d3e962b7936500dcaab5 |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-ssl-iostream: ssl_iostream_settings_dup() - rewrite using string offsets array
This array will be useful for other purposes as well. |
cfa1edd025234945720dfd2834710a8bbb24d906 |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-ssl-iostream: Add ssl_iostream_settings_init_from()
This allows duplicating settings to an already existing struct without
having to allocate it. |
e88f4d3dd4bc425005e285e9bbb2ae203b90645d |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-ssl-iostream: ssl_iostream_settings_dup() - duplicate also dh |
997b30e4099704d2dbe3402b890a892b71b1d640 |
|
31-Oct-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib-ssl-iostream: Expose ssl_module_load
We need to load SSL module before we chroot in
login-common. |
48e243933060ae3e77abbdc9c0fd0bc2143be26e |
|
31-Oct-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib-ssl-iostream: Add get_compression accessor
This is needed by login-common |
0577701d04beea222fc49a7318851ddcea3b99d3 |
|
31-Oct-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib-ssl-iostream: Add alternate certificate support |
9f7ba3807f77209a65e0faa56cac8545b06cd116 |
|
31-Oct-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
global: Splice cert into separate struct from iostream_ssl_settings |
8f251da1b6dfe6dc3d86ae71b377d99afe2d4bd2 |
|
02-Mar-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib-ssl-iostream: Ensure verify_remote_cert is true
Forgotten in 38424b8081a75be3ef93729fed4d30dbafca5885 |
c4d66e8ccbb8440622f1a70791ed2a8f99659af1 |
|
19-Jan-2017 |
Juha Koho <juha.koho@trineco.fi> |
ssl: add ssl_curve_list setting for selecting ECHDE curves |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
efe78d3ba24fc866af1c79b9223dc0809ba26cad |
|
24-Dec-2016 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
global: Replaced all instances of memset(p, 0, sizeof(*p)) with the new i_zero() macro.
Used the following script:
C_FILES=`git ls-files *.c`
H_FILES=`git ls-files *.h`
for F in "$C_FILES $H_FILES"; do
echo "$F"
perl -p -i -e 's/safe_memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero_safe(&$1)/g' $F
perl -p -i -e 's/safe_memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero_safe($1)/g' $F
perl -p -i -e 's/memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero(&$1)/g' $F
perl -p -i -e 's/memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero($1)/g' $F
done |
db8a5116f65292d362c97cdc9725092233072537 |
|
19-Sep-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-ssl-iostream: The final fix to make the SSL plugin loading not fail.. |
ecc2fb34641f1bd39e10c774192ca18527ecb953 |
|
18-Sep-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-ssl-iostream: Fixed OpenSSL module to be actually initialized. |
fe4058e6f01bf0e104c44815b6df7cfefb80634c |
|
16-Sep-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-ssl-iostream: Use more standard _init() & _deinit() to initialize SSL plugin
This is mainly to make it easier for test programs to link to the plugin
directly. |
00b722cca0601adadfbc653711b405b03e017e09 |
|
10-Aug-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
dovecot: Remove ssl-params |
173d1d74736ec822158165bef66d312bb62f2152 |
|
07-May-2016 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib-ssl-iostream: move ssl_iostream_settings_dup to iostream-ssl.c |
02c335c23bf5fa225a467c19f2c063fb0dc7b8c3 |
|
12-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: freshen copyright
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-5]/$1-2016/g;s/ (201[0-5]) Dovecot/ $1-2016 Dovecot/' |
814bf67459ad405a157af0b8940602024d7fadfe |
|
23-Sep-2015 |
Teemu Huovila <teemu.huovila@dovecot.fi> |
Remove now-unnecessary direct stdlib.h #includes. |
7cb128dc4cae2a03a742f63ba7afee23c78e3af0 |
|
05-Jan-2015 |
Phil Carmody <phil@dovecot.fi> |
global: freshen copyright
Robomatically:
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-4]/$1-2015/g;s/ (201[0-4]) Dovecot/ $1-2015 Dovecot/'
Happy 2015 everyone!
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
7ef7f34c38954020004e2b25b4ce8f54b4bcf8f3 |
|
01-Nov-2014 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream: Added dh_length parameter to ssl_iostream_generate_params()
This is an API change, but nobody was actually using this function. |
0aaded8049bed0a277e980ffdbd5712c509a21e5 |
|
30-Oct-2014 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream: Destroy SSL module later in the atexit-callbacks. |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
b4f4552697bdc8e467955e262ae446dbe2914c14 |
|
06-Aug-2013 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream: Deinitialization fixes. |
71b60849a773dd68bdc015cb6a8ea1664d16b359 |
|
08-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream: Added ssl_iostream_has_handshake_failed() |
b4d850a0ffd519c1c745557568daf7d48e18c820 |
|
04-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream: Simplified certificate validation. Also give better error messages. |
3b4bd183cc469f70eb91d82a7f01f60ffc24ca5b |
|
04-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream: Added support for TLS SNI, which caused some API changes. |
ac645fe16c0619771c0a961db91df16485513c52 |
|
04-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream: ssl_iostream_set_handshake_callback() API changed.
The callback can now return the error message to caller instead of having to
log it itself. |
ba1c847d0af4afe4787ed470d0c818e948e184e2 |
|
04-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream: API changes to return error strings if init() functions fail.
This also fixed a couple of broken error handlings. |
5a580c3a38ced62d4bcc95b8ac7c4f2935b5d294 |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Oops :) Update copyrights to 2013 without breaking all .c files. |
cca4ba2a504d70a9fe9fee37f8433997359de52c |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2013. |
d8e54934fbcdf59fc329353c3e3cccbaf69b1bf8 |
|
06-Nov-2012 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream: Unload ssl_iostream_openssl plugin at exit. |
37938a05ec4e58c92aa82a93d1243a1fc5e699fc |
|
06-Nov-2012 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream: Compiler warning fix when compiling without ssl |
3faa1040e5a3f9f35ffad29110216094ab2f5880 |
|
06-Nov-2012 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream now dynamically loads openssl library instead of linking to it.
This allowed removing the separate libdovecot-ssl library. In future if
GnuTLS/NSS support is added it would also allow switching between them
dynamically. |