diff options
author | Michal Rokos <m.rokos@sh.cvut.cz> | 2002-02-23 07:27:42 +0000 |
---|---|---|
committer | Michal Rokos <m.rokos@sh.cvut.cz> | 2002-02-23 07:27:42 +0000 |
commit | 59dd8c5696d83aff78c506d2a161ea4ffb404088 (patch) | |
tree | 4122e0c64fd7117dfdc776f013fb1e487d227b4f /ossl_x509name.c | |
parent | 447afde226aac7461d8a549ea8aae5763b0e3124 (diff) | |
download | ruby-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_x509name.c')
-rw-r--r-- | ossl_x509name.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ossl_x509name.c b/ossl_x509name.c index ada54d6..cd68834 100644 --- a/ossl_x509name.c +++ b/ossl_x509name.c @@ -88,8 +88,8 @@ ossl_x509name_hash_i(VALUE key, VALUE value, X509_NAME *name) { int id, type; - Check_SafeStr(key); - Check_SafeStr(value); + Check_Type(key, T_STRING); + Check_Type(value, T_STRING); if (!(id = OBJ_ln2nid(RSTRING(key)->ptr))) if (!(id = OBJ_sn2nid(RSTRING(key)->ptr))) { |