method
params_ok?
v1_9_1_378 -
Show latest stable
- Class:
OpenSSL::PKey::DH
params_ok?()public
No documentation available.
static VALUE
ossl_dh_check_params(VALUE self)
{
DH *dh;
EVP_PKEY *pkey;
int codes;
GetPKeyDH(self, pkey);
dh = pkey->pkey.dh;
if (!DH_check(dh, &codes)) {
return Qfalse;
}
return codes == 0 ? Qtrue : Qfalse;
}