aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl_config.h
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2016-08-03 21:13:23 +0900
committerKazuki Yamaguchi <k@rhe.jp>2016-08-14 21:24:27 +0900
commit03ef996e342678fe4fff7484929f6dbb4021305d (patch)
tree7c4546a89001daf864bf51d30f5187f02b98e349 /ext/openssl/ossl_config.h
parent3a2840e80d275895523a526ce56e4f6e7b8f9cc4 (diff)
downloadruby-openssl-03ef996e342678fe4fff7484929f6dbb4021305d.tar.gz
config: rename GetConfigPtr() to DupConfigPtr()
Make it follow the convention. Other Get*Ptr() functions return a pointer to OpenSSL object that the caller doesn't need to free. Indeed DupConfigPtr() is not the best name (OpenSSL::Config does not actually wrap a CONF object), but should be better than GetConfigPtr().
Diffstat (limited to 'ext/openssl/ossl_config.h')
-rw-r--r--ext/openssl/ossl_config.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/openssl/ossl_config.h b/ext/openssl/ossl_config.h
index 077e2f74..627d297b 100644
--- a/ext/openssl/ossl_config.h
+++ b/ext/openssl/ossl_config.h
@@ -13,7 +13,6 @@
extern VALUE cConfig;
extern VALUE eConfigError;
-CONF* GetConfigPtr(VALUE obj);
CONF* DupConfigPtr(VALUE obj);
void Init_ossl_config(void);