diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-09-11 12:21:59 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-09-11 13:21:04 +0200 |
commit | aa2cc04b9ef04404b719db5d693e6f146dbe026a (patch) | |
tree | 469b7b176428d24e797ae39105705eea45ef1901 /lib/x509/hostname-verify.c | |
parent | 09f1d96b662d34c55de9903a8a890ad887bcd699 (diff) | |
download | gnutls-aa2cc04b9ef04404b719db5d693e6f146dbe026a.tar.gz |
several spacing fixes to keep syntax-check happy
Diffstat (limited to 'lib/x509/hostname-verify.c')
-rw-r--r-- | lib/x509/hostname-verify.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/x509/hostname-verify.c b/lib/x509/hostname-verify.c index 06a8d42c05..fcbb987e64 100644 --- a/lib/x509/hostname-verify.c +++ b/lib/x509/hostname-verify.c @@ -118,7 +118,7 @@ static int has_embedded_null(const char *str, unsigned size) **/ unsigned gnutls_x509_crt_check_hostname2(gnutls_x509_crt_t cert, - const char *hostname, unsigned int flags) + const char *hostname, unsigned int flags) { char dnsname[MAX_CN]; size_t dnsnamesize; @@ -262,8 +262,8 @@ gnutls_x509_crt_check_hostname2(gnutls_x509_crt_t cert, */ ret = 0; cleanup: - if (a_hostname != hostname) { - idn_free(a_hostname); + if (a_hostname != hostname) { + idn_free(a_hostname); } - return ret; + return ret; } |