> This is because we removed dead code elimination from the openssl wrapper, > why did we do this?
Unrelated, it's due to this: [https://github.com/nim-lang/Nim/pull/6664](https://github.com/nim-lang/Nim/pull/6664). This feature requires OpenSSL 1.1 and above. You can pass `-d:nimDisableCertificateValidation` to avoid this, but I wouldn't recommend it. OpenSSL older than 1.1 is EOL-ed, so everyone should hop on the next version instead of trying to keep the old one running. Also, dead code elimination is enabled by default and cannot be disabled. The pragma was simply removed because it did nothing.