aboutsummaryrefslogtreecommitdiffstats
path: root/ossl_x509store.c
diff options
context:
space:
mode:
authorGOTOU Yuuzou <gotoyuzo@notwork.org>2003-07-16 07:03:00 +0000
committerGOTOU Yuuzou <gotoyuzo@notwork.org>2003-07-16 07:03:00 +0000
commit49bdc6251d640754717429a951a9835bf853127f (patch)
tree563fa579b59257875b62fcd9a410a81327bf90a6 /ossl_x509store.c
parent215f3939393cd9c6733a01de96e524bc5df57e20 (diff)
downloadruby-openssl-history-49bdc6251d640754717429a951a9835bf853127f.tar.gz
*** empty log message ***
Diffstat (limited to 'ossl_x509store.c')
-rw-r--r--ossl_x509store.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ossl_x509store.c b/ossl_x509store.c
index 8dcb143..0a47407 100644
--- a/ossl_x509store.c
+++ b/ossl_x509store.c
@@ -476,6 +476,7 @@ Init_ossl_x509store(VALUE module)
rb_define_method(cX509Store, "verify_callback=", ossl_x509store_set_verify_cb, 1);
rb_define_method(cX509Store, "add_trusted", ossl_x509store_add_trusted, 1);
+ rb_define_alias(cX509Store, "add_cert", "add_trusted");
rb_define_method(cX509Store, "add_crl", ossl_x509store_add_crl, 1);
rb_define_method(cX509Store, "verify", ossl_x509store_verify, 1);