summaryrefslogtreecommitdiff
path: root/lib/state.h
diff options
context:
space:
mode:
authorTom Vrancken <dev@tomvrancken.nl>2018-10-11 21:25:11 +0200
committerTom Vrancken <dev@tomvrancken.nl>2018-10-18 21:39:48 +0200
commit393de1d3e2220dbeb3f249232974ab857c7d0b9c (patch)
tree7c02eb599276d9c7aad6f26d2d73e1e44c3641a4 /lib/state.h
parentf628457eef8e69f2c2857c3bcf014c207fdab5dc (diff)
downloadgnutls-393de1d3e2220dbeb3f249232974ab857c7d0b9c.tar.gz
Renamed CHECK_AUTH macro to CHECK_AUTH_TYPE to be more clear what it checks.
Signed-off-by: Tom Vrancken <dev@tomvrancken.nl>
Diffstat (limited to 'lib/state.h')
-rw-r--r--lib/state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/state.h b/lib/state.h
index a93e5d49ce..e4fb85c461 100644
--- a/lib/state.h
+++ b/lib/state.h
@@ -71,7 +71,7 @@ _gnutls_hello_set_default_version(gnutls_session_t session,
#include <auth.h>
-#define CHECK_AUTH(auth, ret) if (gnutls_auth_get_type(session) != auth) { \
+#define CHECK_AUTH_TYPE(auth, ret) if (gnutls_auth_get_type(session) != auth) { \
gnutls_assert(); \
return ret; \
}