aboutsummaryrefslogtreecommitdiffstats
path: root/ossl_x509.c
diff options
context:
space:
mode:
authorMichal Rokos <m.rokos@sh.cvut.cz>2002-02-23 07:27:42 +0000
committerMichal Rokos <m.rokos@sh.cvut.cz>2002-02-23 07:27:42 +0000
commit59dd8c5696d83aff78c506d2a161ea4ffb404088 (patch)
tree4122e0c64fd7117dfdc776f013fb1e487d227b4f /ossl_x509.c
parent447afde226aac7461d8a549ea8aae5763b0e3124 (diff)
downloadruby-openssl-history-59dd8c5696d83aff78c506d2a161ea4ffb404088.tar.gz
* More benevolent checks (Check_SafeStr(x) -> Check_Type(x, T_STRING)
(where we don't care)
Diffstat (limited to 'ossl_x509.c')
-rw-r--r--ossl_x509.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ossl_x509.c b/ossl_x509.c
index 70081c7..e2034e1 100644
--- a/ossl_x509.c
+++ b/ossl_x509.c
@@ -142,7 +142,6 @@ ossl_x509_initialize(int argc, VALUE *argv, VALUE self)
break;
case T_STRING:
- Check_SafeStr(buffer);
if (!(in = BIO_new_mem_buf(RSTRING(buffer)->ptr, RSTRING(buffer)->len))) {
OSSL_Raise(eX509CertificateError, "");
}