diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-12-08 13:28:00 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-12-08 14:56:51 +0100 |
commit | c1c3910ac0d3b194a5bc8f0a64c10a0fad376495 (patch) | |
tree | bab76e67279c901cb5516ae34435a988f15ed71f /lib/x509/email-verify.c | |
parent | 1e82546e9a4a005dde3e3d0e61feada7c069898f (diff) | |
download | gnutls-c1c3910ac0d3b194a5bc8f0a64c10a0fad376495.tar.gz |
gnutls_x509_crt_check_email type changed to unsigned
This reflects the documented returned value type (bool), and
allows the compiler to warn on accidental checks for negative
value.
Diffstat (limited to 'lib/x509/email-verify.c')
-rw-r--r-- | lib/x509/email-verify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/email-verify.c b/lib/x509/email-verify.c index 974badb877..e40e8b812d 100644 --- a/lib/x509/email-verify.c +++ b/lib/x509/email-verify.c @@ -44,7 +44,7 @@ static int has_embedded_null(const char *str, unsigned size) * * Returns: non-zero for a successful match, and zero on failure. **/ -int +unsigned gnutls_x509_crt_check_email(gnutls_x509_crt_t cert, const char *email, unsigned int flags) { |