⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (276 Bytes)
Bug #12428
» opensslcrash.rb
cjeon (CHEOLHO JEON)
, 05/25/2016 11:34 AM
puts
(
RUBY_VERSION
)
# works well
require
(
'openssl'
)
p
=
OpenSSL
::
PKey
::
RSA
.
new
(
1024
)
p
.
public_encrypt
(
'hi'
)
puts
(
'works well when key size is given'
)
# crashes
require
(
'openssl'
)
p
=
OpenSSL
::
PKey
::
RSA
.
new
puts
(
'will crash when key size is not given'
)
p
.
public_encrypt
(
'hi'
)
« Previous
1
2
3
Next »
(3-3/3)
Loading...