diff --git a/stdlib/openssl/0/openssl.rbs b/stdlib/openssl/0/openssl.rbs index ebfde3072..677923e75 100644 --- a/stdlib/openssl/0/openssl.rbs +++ b/stdlib/openssl/0/openssl.rbs @@ -9332,7 +9332,8 @@ module OpenSSL # Reads *length* bytes from the SSL connection. If a pre-allocated *buffer* is # provided the data will be written into it. # - def sysread_nonblock: (*untyped) -> untyped + def sysread_nonblock: (Integer length, ?String buffer, ?exception: true) -> String + | (Integer length, ?String buffer, exception: false) -> (String | :wait_readable | :wait_writable | nil) #