add back hx509_crypto_allow_weak
authorLove Hornquist Astrand <lha@h5l.org>
Wed, 22 Sep 2010 22:00:13 +0000 (15:00 -0700)
committerLove Hornquist Astrand <lha@h5l.org>
Wed, 22 Sep 2010 22:00:13 +0000 (15:00 -0700)
lib/hx509/crypto.c

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