add back hx509_crypto_allow_weak

This commit is contained in:
Love Hornquist Astrand
2010-09-22 15:00:13 -07:00
parent 6f328a9194
commit 74e46d59c1

View File

@@ -2346,6 +2346,12 @@ hx509_crypto_set_key_name(hx509_crypto crypto, const char *name)
return 0; return 0;
} }
void
hx509_crypto_allow_weak(hx509_crypto crypto)
{
crypto->flags |= ALLOW_WEAK;
}
void void
hx509_crypto_set_padding(hx509_crypto crypto, int padding_type) hx509_crypto_set_padding(hx509_crypto crypto, int padding_type)
{ {