Fixed compiler warnings

I removed the unused variable `status` and added the `const` keyword before `SSL_METHOD`.