tls: check error when SSL_shutdown fails 87/43287/3
authorBrian Morris <[email protected]>
Tue, 24 Jun 2025 20:55:29 +0000 (20:55 +0000)
committerFlorin Coras <[email protected]>
Wed, 25 Jun 2025 03:38:13 +0000 (03:38 +0000)
commita834089f57b0df2804b7aa9e06b8cfb0e800412c
tree26323bef6e06f8feece1cdd0f0b6e2829041ad95
parent74cf96576768f6e9200848c613428990049b3563
tls: check error when SSL_shutdown fails

this pulls the error from the per-thread error queue, which if not empty could cause the wrong error to be returned elsewhere

Type: fix

Change-Id: Ie8741f32de61ef1f469e694ac27ee937a45f5b01
Signed-off-by: Brian Morris <[email protected]>
src/plugins/tlsopenssl/tls_openssl.c