From c6b73f88faeba0475ce7831fbba2fe303d91ef50 Mon Sep 17 00:00:00 2001 From: Jennifer Sutton Date: Fri, 3 Oct 2025 15:11:36 +1300 Subject: [PATCH] s4:kdc: Correct comments Signed-off-by: Jennifer Sutton Reviewed-by: Gary Lockyer --- source4/kdc/db-glue.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source4/kdc/db-glue.c b/source4/kdc/db-glue.c index c7dc01fb812..15ad486813d 100644 --- a/source4/kdc/db-glue.c +++ b/source4/kdc/db-glue.c @@ -1200,7 +1200,7 @@ static krb5_error_code samba_kdc_get_entry_principal( * @return 0 No error * ENOMEM memory allocation error * - * @note Memory is allocated, with malloc and needs to be freed + * @note Memory is allocated with malloc and needs to be freed */ static krb5_error_code data_blob_to_krb5_data( DATA_BLOB *blob, krb5_data *krb5) { @@ -1225,7 +1225,7 @@ static krb5_error_code data_blob_to_krb5_data( DATA_BLOB *blob, krb5_data *krb5) * ENOMEM memory allocation error * EINVAL data blob is not a valid hex string encoding * - * @note Memory is allocated, with malloc and needs to be freed + * @note Memory is allocated with malloc and needs to be freed */ static krb5_error_code db_hex_str_to_krb5_data( DATA_BLOB *blob, @@ -1289,7 +1289,7 @@ static const DATA_BLOB X509_HEADER = DATA_BLOB_STRING("X509:"); * EINVAL tag or value are invalid * ENOMEM memory allocation error * - * @note Memory is allocated, with malloc and needs to be freed with + * @note Memory is allocated with malloc and needs to be freed with * sdb_certificate_mapping_free */ static krb5_error_code populate_certificate_mapping( @@ -1424,7 +1424,7 @@ static krb5_boolean is_strong_certificate_mapping( * Subject Name * Serial Number * SKI Subject Key Identifier - * SHA1 checksum of the public key + * SHA1 checksum of the public key * Email address * * @@ -1463,7 +1463,7 @@ static krb5_error_code parse_certificate_mapping( /* * Ensure that there is data, and it starts with X509: - * other wise ignore the entry and return ENOENT + * otherwise ignore the entry and return ENOENT */ if (data == NULL || length == 0) { DBG_DEBUG("altSecurityIdentities, is empty"); -- 2.47.3