summaryrefslogtreecommitdiff
path: root/ext/openssl/ossl_config.h
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2020-02-19 05:11:54 +0000
committerKazuki Yamaguchi <k@rhe.jp>2021-03-16 19:16:10 +0900
commit10289e9f229dae499d8f9c4e8252aeb728117d28 (patch)
tree828613bdc0a6739b73924c08d2cdda447d9e176b /ext/openssl/ossl_config.h
parent22aeb6373e13929e80da1676b1dc79cbfffc38a4 (diff)
[ruby/openssl] config: replace DupConfigPtr() with GetConfig()
Now that OpenSSL::Config wraps a real CONF object, the caller can just borrow it rather than creating a new temporary CONF object. CONF object is usually treated as immutable. DupConfigPtr() is now removed, and GetConfig() is exported instead. https://github.com/ruby/openssl/commit/d9064190ca
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4275
Diffstat (limited to 'ext/openssl/ossl_config.h')
-rw-r--r--ext/openssl/ossl_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/ossl_config.h b/ext/openssl/ossl_config.h
index c96a00f..4e604f1 100644
--- a/ext/openssl/ossl_config.h
+++ b/ext/openssl/ossl_config.h
@@ -10,7 +10,7 @@
#ifndef OSSL_CONFIG_H
#define OSSL_CONFIG_H
-CONF *DupConfigPtr(VALUE obj);
+CONF *GetConfig(VALUE obj);
void Init_ossl_config(void);
#endif /* OSSL_CONFIG_H */