From a0defed667aa9c41863f407d4cb493f1b1c917b2 Mon Sep 17 00:00:00 2001 From: Andrzej Kurek Date: Thu, 30 Dec 2021 12:33:31 +0100 Subject: [PATCH] doxygen: move addtogroup closures to include more elements Signed-off-by: Andrzej Kurek --- include/mbedtls/asn1.h | 2 +- include/mbedtls/x509.h | 3 ++- include/mbedtls/x509_crt.h | 3 ++- include/mbedtls/x509_csr.h | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/include/mbedtls/asn1.h b/include/mbedtls/asn1.h index b64af10cac..30b0ed2421 100644 --- a/include/mbedtls/asn1.h +++ b/include/mbedtls/asn1.h @@ -119,7 +119,6 @@ #define MBEDTLS_ASN1_TAG_VALUE_MASK 0x1F /** \} name DER constants */ -/** \} addtogroup asn1_module */ /** Returns the size of the binary string, without the trailing \\0 */ #define MBEDTLS_OID_SIZE(x) (sizeof(x) - 1) @@ -627,6 +626,7 @@ void mbedtls_asn1_free_named_data( mbedtls_asn1_named_data *entry ); void mbedtls_asn1_free_named_data_list( mbedtls_asn1_named_data **head ); /** \} name Functions to parse ASN.1 data structures */ +/** \} addtogroup asn1_module */ #ifdef __cplusplus } diff --git a/include/mbedtls/x509.h b/include/mbedtls/x509.h index 22d0a2c93d..3c76fec780 100644 --- a/include/mbedtls/x509.h +++ b/include/mbedtls/x509.h @@ -252,7 +252,6 @@ typedef struct mbedtls_x509_time mbedtls_x509_time; /** \} name Structures for parsing X.509 certificates, CRLs and CSRs */ -/** \} addtogroup x509_module */ /** * \brief Store the certificate DN in printable form into buf; @@ -308,6 +307,8 @@ int mbedtls_x509_time_is_past( const mbedtls_x509_time *to ); */ int mbedtls_x509_time_is_future( const mbedtls_x509_time *from ); +/** \} addtogroup x509_module */ + /* * Internal module functions. You probably do not want to use these unless you * know you do. diff --git a/include/mbedtls/x509_crt.h b/include/mbedtls/x509_crt.h index e157efa8d1..51883dc86b 100644 --- a/include/mbedtls/x509_crt.h +++ b/include/mbedtls/x509_crt.h @@ -956,7 +956,6 @@ void mbedtls_x509_crt_restart_free( mbedtls_x509_crt_restart_ctx *ctx ); #endif /* MBEDTLS_X509_CRT_PARSE_C */ /** \} name Structures and functions for parsing and writing X.509 certificates */ -/** \} addtogroup x509_module */ #if defined(MBEDTLS_X509_CRT_WRITE_C) /** @@ -1186,6 +1185,8 @@ int mbedtls_x509write_crt_pem( mbedtls_x509write_cert *ctx, unsigned char *buf, #endif /* MBEDTLS_PEM_WRITE_C */ #endif /* MBEDTLS_X509_CRT_WRITE_C */ +/** \} addtogroup x509_module */ + #ifdef __cplusplus } #endif diff --git a/include/mbedtls/x509_csr.h b/include/mbedtls/x509_csr.h index 7ec5ecaa19..20a516e026 100644 --- a/include/mbedtls/x509_csr.h +++ b/include/mbedtls/x509_csr.h @@ -155,7 +155,6 @@ void mbedtls_x509_csr_free( mbedtls_x509_csr *csr ); #endif /* MBEDTLS_X509_CSR_PARSE_C */ /** \} name Structures and functions for X.509 Certificate Signing Requests (CSR) */ -/** \} addtogroup x509_module */ #if defined(MBEDTLS_X509_CSR_WRITE_C) /** @@ -297,6 +296,8 @@ int mbedtls_x509write_csr_pem( mbedtls_x509write_csr *ctx, unsigned char *buf, s #endif /* MBEDTLS_PEM_WRITE_C */ #endif /* MBEDTLS_X509_CSR_WRITE_C */ +/** \} addtogroup x509_module */ + #ifdef __cplusplus } #endif