aboutsummaryrefslogtreecommitdiffstats
path: root/ossl_x509name.c
diff options
context:
space:
mode:
Diffstat (limited to 'ossl_x509name.c')
-rw-r--r--ossl_x509name.c4
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))) {