Fix incompatibility with cryptography 43.