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/mem.h | |
parent | 09f1d96b662d34c55de9903a8a890ad887bcd699 (diff) | |
download | gnutls-aa2cc04b9ef04404b719db5d693e6f146dbe026a.tar.gz |
several spacing fixes to keep syntax-check happy
Diffstat (limited to 'lib/mem.h')
-rw-r--r-- | lib/mem.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -39,15 +39,15 @@ unsigned _gnutls_mem_is_zero(const uint8_t *ptr, unsigned size); inline static int safe_memcmp(const void *s1, const void *s2, size_t n) { - if (n == 0) - return 0; - return memcmp(s1, s2, n); + if (n == 0) + return 0; + return memcmp(s1, s2, n); } #define zrelease_mpi_key(mpi) if (*mpi!=NULL) { \ - _gnutls_mpi_clear(*mpi); \ - _gnutls_mpi_release(mpi); \ - } + _gnutls_mpi_clear(*mpi); \ + _gnutls_mpi_release(mpi); \ + } #define zeroize_key(x, size) gnutls_memset(x, 0, size) |