diff --git a/third_party/2/cryptography/hazmat/primitives/asymmetric/rsa.pyi b/third_party/2/cryptography/hazmat/primitives/asymmetric/rsa.pyi index 006e8221e..310ced7ca 100644 --- a/third_party/2/cryptography/hazmat/primitives/asymmetric/rsa.pyi +++ b/third_party/2/cryptography/hazmat/primitives/asymmetric/rsa.pyi @@ -25,7 +25,7 @@ class RSAPublicKey: RSAPublicKeyWithSerialization = RSAPublicKey -def generate_private_key(public_exponent: int, key_size: int, backend) -> RSAPrivateKey: ... +def generate_private_key(public_exponent: int, key_size: int, backend) -> RSAPrivateKeyWithSerialization: ... def rsa_crt_iqmp(p: int, q: int) -> int: ... def rsa_crt_dmp1(private_exponent: int, p: int) -> int: ... def rsa_crt_dmq1(private_exponent: int, q: int) -> int: ...