commit | 21d1f46c6f7ac62483fa259d62ca7f7728ef04d9 | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Sun Mar 03 16:48:06 2019 +0300 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Sun Mar 03 16:48:06 2019 +0300 |
tree | fdd6cce0976c6367af48736fa8a05e656bc45418 | |
parent | 5a8b32443660fe5f8dd614ea3babcf721353cc1b [diff] |
SSL: server name callback changed to return fatal errors. Notably this affects various allocation errors, and should generally improve things if an allocation error actually happens during a callback. Depending on the OpenSSL version, returning an error can result in either SSL_R_CALLBACK_FAILED or SSL_R_CLIENTHELLO_TLSEXT error from SSL_do_handshake(), so both errors were switched to the "info" level.