summaryrefslogtreecommitdiff
path: root/usr.sbin/radiusd/eap2mschap_local.h
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-09-15 05:49:06 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-09-15 05:49:06 +0000
commitfc9df56613b97739c442fc3f34e9b014b6c4085f (patch)
treee498f456292d5cab5d65f6119a4d8b017988c281 /usr.sbin/radiusd/eap2mschap_local.h
parent3a79bdd0d18423c68e56f3b3e49cc08977f7359a (diff)
__STDC_VERSION__ not __STDC_VERSION; ok miod@
Diffstat (limited to 'usr.sbin/radiusd/eap2mschap_local.h')
-rw-r--r--usr.sbin/radiusd/eap2mschap_local.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/radiusd/eap2mschap_local.h b/usr.sbin/radiusd/eap2mschap_local.h
index b3d523d920f..7db1e20ab5b 100644
--- a/usr.sbin/radiusd/eap2mschap_local.h
+++ b/usr.sbin/radiusd/eap2mschap_local.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: eap2mschap_local.h,v 1.2 2024/07/16 06:18:20 miod Exp $ */
+/* $OpenBSD: eap2mschap_local.h,v 1.3 2024/09/15 05:49:05 jsg Exp $ */
/*
* Copyright (c) 2024 Internet Initiative Japan Inc.
@@ -70,7 +70,7 @@ struct eap_mschap_challenge {
uint8_t chall[16];
char chap_name[0];
} __packed;
-#if defined(__STDC_VERSION__) && __STDC_VERSION >= 201112L
+#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
static_assert(sizeof(struct eap_mschap_challenge) == 26, "");
static_assert(offsetof(struct eap_mschap_challenge, chap) == 5, "");
static_assert(offsetof(struct eap_mschap_challenge, chall) == 10, "");
@@ -87,7 +87,7 @@ struct eap_mschap_response {
uint8_t flags;
uint8_t chap_name[0];
} __packed;
-#if defined(__STDC_VERSION__) && __STDC_VERSION >= 201112L
+#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
static_assert(sizeof(struct eap_mschap_response) == 59, "");
static_assert(offsetof(struct eap_mschap_response, chap) == 5, "");
static_assert(offsetof(struct eap_mschap_response, peerchall) == 10, "");