Skip to content

dtlsconnection: Ignore OpenSSL system call errors

OpenSSL shouldn't be making real system calls, so we can safely ignore syscall errors. System interactions should happen through our BIO. So especially don't look at the system's errno, as it should be meaningless.

This causes spurious errors, for example, on Windows, GetEnvironmentVariable() will set an error if the variable doesn't exist. And this code will just abort the connection in that case.

Merge request reports