Fix cast of boolean where cast of LHS intended.
Fix cast of boolean where cast of LHS intended.

Closes #74.

openssl/openssl,openssl/openssl,openssl/openssl,openssl/openssl,openssl/openssl,openssl/openssl