diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/ouroboros/crypt.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/ouroboros/crypt.h b/include/ouroboros/crypt.h index ce765158..41e44cee 100644 --- a/include/ouroboros/crypt.h +++ b/include/ouroboros/crypt.h @@ -135,8 +135,10 @@ struct sec_config { int nid; } d; /* digest */ - bool req_auth; /* require peer authentication */ - char cacert[CACERT_PATH_BUFSZ]; /* pinned issuing CA, "" = any */ + struct { + bool req; /* require peer auth */ + char cacert[CACERT_PATH_BUFSZ]; /* pinned CA, "" = any */ + } a; /* authentication */ }; /* Helper macros to set sec_config fields consistently */ |
