Skip to content

Commit

Permalink
removed arglists
Browse files Browse the repository at this point in the history
  • Loading branch information
HoneyryderChuck committed Aug 17, 2021
1 parent 223fa40 commit 900a19d
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions stdlib/openssl/0/openssl.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -492,29 +492,20 @@ module OpenSSL
# Digest("Foo")
# # => NameError: wrong constant name Foo
#
# # arglists πŸ’ͺπŸ‘½πŸš¨ << Delete this section
# Digest(name)
#
def self.Digest: (String name) -> singleton(Digest)

def self.debug: () -> bool

# Turns on or off debug mode. With debug mode, all erros added to the OpenSSL
# error queue will be printed to stderr.
#
# # arglists πŸ’ͺπŸ‘½πŸš¨ << Delete this section
# OpenSSL.debug = boolean -> boolean
#
def self.debug=: (bool) -> bool

# See any remaining errors held in queue.
#
# Any errors you see here are probably due to a bug in Ruby's OpenSSL
# implementation.
#
# # arglists πŸ’ͺπŸ‘½πŸš¨ << Delete this section
# OpenSSL.errors -> [String...]
#
def self.errors: () -> Array[String]

def self.fips_mode: () -> bool
Expand All @@ -527,9 +518,6 @@ module OpenSSL
# OpenSSL.fips_mode = true # turn FIPS mode on
# OpenSSL.fips_mode = false # and off again
#
# # arglists πŸ’ͺπŸ‘½πŸš¨ << Delete this section
# OpenSSL.fips_mode = boolean -> boolean
#
def self.fips_mode=: (bool) -> bool

# Constant time memory comparison for fixed length strings, such as results of
Expand All @@ -539,17 +527,12 @@ module OpenSSL
# length but not identical. If the length is different, `ArgumentError` is
# raised.
#
# # arglists πŸ’ͺπŸ‘½πŸš¨ << Delete this section
# OpenSSL.fixed_length_secure_compare(string, string) -> boolean
#
def self.fixed_length_secure_compare: (String, String) -> bool

# Constant time memory comparison. Inputs are hashed using SHA-256 to mask the
# length of the secret. Returns `true` if the strings are identical, `false`
# otherwise.
#
# # arglists πŸ’ͺπŸ‘½πŸš¨ << Delete this section
# OpenSSL.secure_compare(string, string) -> boolean
#
def self.secure_compare: (String a, String b) -> bool

Expand Down

0 comments on commit 900a19d

Please sign in to comment.