aboutsummaryrefslogtreecommitdiffstats
path: root/ossl.c
diff options
context:
space:
mode:
authorMichal Rokos <m.rokos@sh.cvut.cz>2002-09-04 10:18:20 +0000
committerMichal Rokos <m.rokos@sh.cvut.cz>2002-09-04 10:18:20 +0000
commit08358110e21f6446d76ef17955099beeaab09b48 (patch)
treed848b8de2154ec33369c8a9e22f9a68baa0e184d /ossl.c
parent950c1b97d0ff553b3b95c61f777f3bca1e1e3dd9 (diff)
downloadruby-openssl-history-08358110e21f6446d76ef17955099beeaab09b48.tar.gz
Certificate#become (for Ruby1.7.3 dup, clone interface)
Diffstat (limited to 'ossl.c')
-rw-r--r--ossl.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/ossl.c b/ossl.c
index 08ad4a7..f9af31c 100644
--- a/ossl.c
+++ b/ossl.c
@@ -38,27 +38,6 @@ struct timeval {
#endif
/*
- * Check Types
- */
-void
-ossl_check_kind(VALUE obj, VALUE klass)
-{
- if (rb_obj_is_kind_of(obj, klass) != Qtrue) {
- ossl_raise(rb_eTypeError, "wrong argument (%s)! (Expected kind of %s)", \
- rb_class2name(CLASS_OF(obj)), rb_class2name(klass));
- }
-}
-
-void
-ossl_check_instance(VALUE obj, VALUE klass)
-{
- if (rb_obj_is_instance_of(obj, klass) != Qtrue) {
- ossl_raise(rb_eTypeError, "wrong argument (%s)! (Expected instance of %s)",\
- rb_class2name(CLASS_OF(obj)), rb_class2name(klass));
- }
-}
-
-/*
* DATE conversion
*/
VALUE