BN_cmp returns an int, not a BIGNUM *
Merge pull request #892 from reaperhulk/bn-fix

BN_cmp returns an int, not a BIGNUM *