pyca/cryptography — pull request #895 by public (2014-04-06 11:47:35+00:00)
Title: This actually returns an int

https://www.openssl.org/docs/crypto/BN_cmp.html

Oops.