aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl_pkey.c
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2017-03-16 16:09:35 +0900
committerKazuki Yamaguchi <k@rhe.jp>2020-05-13 16:14:06 +0900
commit1eb1366615ec97a75d97c4b35cb20adfca175feb (patch)
treed0e5a72f1412a2e7224586cbf4cffe3294be42c9 /ext/openssl/ossl_pkey.c
parent94aeab2f265d07e20e89eff00a6145403ed1253f (diff)
downloadruby-openssl-1eb1366615ec97a75d97c4b35cb20adfca175feb.tar.gz
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.
Diffstat (limited to 'ext/openssl/ossl_pkey.c')
0 files changed, 0 insertions, 0 deletions