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_pkey_dh.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_pkey_dh.c')
-rw-r--r-- | ossl_pkey_dh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ossl_pkey_dh.c b/ossl_pkey_dh.c index ea507b5..87db5c8 100644 --- a/ossl_pkey_dh.c +++ b/ossl_pkey_dh.c @@ -122,7 +122,7 @@ ossl_dh_s_new_from_pem(VALUE klass, VALUE buffer) BIO *in = NULL; VALUE obj; - Check_SafeStr(buffer); + Check_Type(buffer, T_STRING); if (!(in = BIO_new_mem_buf(RSTRING(buffer)->ptr, RSTRING(buffer)->len))) OSSL_Raise(eDHError, ""); |