summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2017-03-16 16:09:35 +0900
committerKazuki Yamaguchi <k@rhe.jp>2021-03-16 19:16:10 +0900
commitc157f6e787221bcdbf8b6bb28db1b43578b89d66 (patch)
tree41670c62bfa04b6e0a4fb77aa299d4318e9d07e8 /sample
parent27859c09a67768b06ad1db11a145cd6c548bbdf3 (diff)
[ruby/openssl] pkey: inline {rsa,dsa,dh,ec}_instance()
Merge the code into the callers so that the wrapping Ruby object is allocated before the raw key object is allocated. This prevents possible memory leak on Ruby object allocation failure, and also reduces the lines of code. https://github.com/ruby/openssl/commit/1eb1366615
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4275
Diffstat (limited to 'sample')
0 files changed, 0 insertions, 0 deletions