diff --git a/stubs/pyOpenSSL/OpenSSL/rand.pyi b/stubs/pyOpenSSL/OpenSSL/rand.pyi new file mode 100644 index 000000000..30a76ee77 --- /dev/null +++ b/stubs/pyOpenSSL/OpenSSL/rand.pyi @@ -0,0 +1,4 @@ +from typing_extensions import Literal + +def add(buffer: bytes, entropy: int) -> None: ... +def status() -> Literal[0, 1]: ...