]> git.proxmox.com Git - pve-http-server.git/commit - src/PVE/APIServer/AnyEvent.pm
call Net::SSLeay::ERR_clear_error() after auth_handler
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 20 Jan 2017 17:15:21 +0000 (18:15 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 20 Jan 2017 17:17:13 +0000 (18:17 +0100)
commit6389088689d751b15e1c880097227729bf1b2079
treea27de3d48a0a1da5b9b7921471fa9dd198bf0450
parent7a9a3b9063d2108ab3dbb3f07abf329d7873bef0
call Net::SSLeay::ERR_clear_error() after auth_handler

Some auth_handlers use Crypt::OpenSSL::RSA, which seems to set the openssl error
variable. We need to clear that here, else AnyEvent::TLS aborts the connection.
PVE/APIServer/AnyEvent.pm