diff options
author | Simon Josefsson <simon@josefsson.org> | 2005-10-27 14:15:50 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2005-10-27 14:15:50 +0000 |
commit | 064057669859cfc08c0bc293ce87557f842dc387 (patch) | |
tree | a495ee44c91963d41d7740247e9e2deb35dfd43c /includes | |
parent | 1e4636dea2ec8ed9103396f58cce9d377ff3f881 (diff) | |
download | gnutls-064057669859cfc08c0bc293ce87557f842dc387.tar.gz |
Add MD2/MD5 verify flags.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/gnutls/x509.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/includes/gnutls/x509.h b/includes/gnutls/x509.h index c6565d0319..34174b9a51 100644 --- a/includes/gnutls/x509.h +++ b/includes/gnutls/x509.h @@ -381,7 +381,15 @@ extern "C" * basicConstraints extension. Must be used in combination with * GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT. */ - GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT = 8 + GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT = 8, + + /* Allow certificates to be signed using the broken MD2 algorithm. + */ + GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD2 = 16, + + /* Allow certificates to be signed using the broken MD5 algorithm. + */ + GNUTLS_VERIFY_ALLOW_SIGN_RSA_MD5 = 32 } gnutls_certificate_verify_flags; int gnutls_x509_crt_check_issuer (gnutls_x509_crt_t cert, |