diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2017-03-16 16:09:35 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2020-05-13 16:14:06 +0900 |
commit | 1eb1366615ec97a75d97c4b35cb20adfca175feb (patch) | |
tree | d0e5a72f1412a2e7224586cbf4cffe3294be42c9 /ext/openssl/ossl_pkey.c | |
parent | 94aeab2f265d07e20e89eff00a6145403ed1253f (diff) | |
download | ruby-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