diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-05-05 11:58:25 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-05-05 11:58:53 +0200 |
commit | 9f498c4e077ceabafe44f186005ca52ead6930bd (patch) | |
tree | 8f99cf2f2aedfeeec218b790ed51787dd52c6500 /lib/includes/gnutls | |
parent | 2fb949f70919a4824a8ab20c4b649721e95b2613 (diff) | |
download | gnutls-9f498c4e077ceabafe44f186005ca52ead6930bd.tar.gz |
Added the 'very weak' certificate verification profile.
This profile corresponds to a 64-bit security level (e.g., RSA
parameters of 768 bits).
Diffstat (limited to 'lib/includes/gnutls')
-rw-r--r-- | lib/includes/gnutls/x509.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/includes/gnutls/x509.h b/lib/includes/gnutls/x509.h index b4b24b9da9..cad804e575 100644 --- a/lib/includes/gnutls/x509.h +++ b/lib/includes/gnutls/x509.h @@ -816,6 +816,8 @@ typedef enum gnutls_certificate_verify_flags { /** * gnutls_certificate_verification_profiles_t: + * @GNUTLS_PROFILE_VERY_WEAK: A verification profile that + * corresponds to @GNUTLS_SEC_PARAM_VERY_WEAK (64 bits) * @GNUTLS_PROFILE_LOW: A verification profile that * corresponds to @GNUTLS_SEC_PARAM_LOW (80 bits) * @GNUTLS_PROFILE_LEGACY: A verification profile that @@ -834,6 +836,7 @@ typedef enum gnutls_certificate_verify_flags { * Enumeration of different certificate verification profiles. */ typedef enum gnutls_certificate_verification_profiles_t { + GNUTLS_PROFILE_VERY_WEAK = 1, GNUTLS_PROFILE_LOW = 2, GNUTLS_PROFILE_LEGACY = 4, GNUTLS_PROFILE_MEDIUM = 5, |