summaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl_x509.h
diff options
context:
space:
mode:
authorgotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-11-01 09:24:55 +0000
committergotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-11-01 09:24:55 +0000
commitb6645dd658f530f2558d5acf1db94a4ef43101b9 (patch)
treed27bb5cdb264f9c1e72cfebb68ba8e6d6eeed273 /ext/openssl/ossl_x509.h
parentb234554690a8d312dd7fa34c0e7c406f472926e2 (diff)
downloadruby-b6645dd658f530f2558d5acf1db94a4ef43101b9.tar.gz
ruby-b6645dd658f530f2558d5acf1db94a4ef43101b9.tar.xz
ruby-b6645dd658f530f2558d5acf1db94a4ef43101b9.zip
* ext/openssl/ossl_ssl.c (ossl_ssl_peer_cert_chain): add new method
SSLSocket#peer_cert_chain. * ext/openssl/ossl_x509req.c (GetX509ReqPtr): new function which returns underlying X509_REQ. * ext/openssl/ossl_x509ext.c (ossl_x509extfactory_set_issuer_cert, ossl_x509extfactory_set_subject_cert, ossl_x509extfactory_set_crl, ossl_x509extfactory_set_subject_req, ossl_x509extfactory_set_config): use underlying C struct without duplication not to leak momory. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/ossl_x509.h')
-rw-r--r--ext/openssl/ossl_x509.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/openssl/ossl_x509.h b/ext/openssl/ossl_x509.h
index 196ce0684..1a4356907 100644
--- a/ext/openssl/ossl_x509.h
+++ b/ext/openssl/ossl_x509.h
@@ -80,6 +80,7 @@ extern VALUE cX509Req;
extern VALUE eX509ReqError;
VALUE ossl_x509req_new(X509_REQ *);
+X509_REQ *GetX509ReqPtr(VALUE);
X509_REQ *DupX509ReqPtr(VALUE);
void Init_ossl_x509req(void);