From b010763bdb6f5dc8c7c43ed34440465be9c735cf Mon Sep 17 00:00:00 2001 From: oviano Date: Tue, 11 Apr 2023 10:18:03 +0100 Subject: [PATCH] [core] Fixed typos in MBedTLS where it referred to GnuTLS (#2699). --- haicrypt/cryspr-mbedtls.c | 4 ++-- haicrypt/cryspr-mbedtls.h | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/haicrypt/cryspr-mbedtls.c b/haicrypt/cryspr-mbedtls.c index 7d8f08db2..7697e63b3 100644 --- a/haicrypt/cryspr-mbedtls.c +++ b/haicrypt/cryspr-mbedtls.c @@ -16,7 +16,7 @@ written by 2022-05-19 (jdube) CRYSPR2 adaptation 2019-06-27 (jdube) - GnuTLS/Nettle CRYSPR/4SRT (CRYypto Service PRovider for SRT) + MBedTLS CRYSPR/4SRT (CRYypto Service PRovider for SRT) *****************************************************************************/ #include "hcrypt.h" @@ -32,7 +32,7 @@ written by static mbedtls_ctr_drbg_context crysprMbedtls_ctr_drbg; static mbedtls_entropy_context crysprMbedtls_entropy; -typedef struct tag_crysprGnuTLS_AES_cb { +typedef struct tag_crysprMBedTLS_AES_cb { CRYSPR_cb ccb; /* CRYSPR control block */ /* Add other cryptolib specific data here */ #ifdef CRYSPR2 diff --git a/haicrypt/cryspr-mbedtls.h b/haicrypt/cryspr-mbedtls.h index a83b397c1..f62b32e48 100644 --- a/haicrypt/cryspr-mbedtls.h +++ b/haicrypt/cryspr-mbedtls.h @@ -13,12 +13,12 @@ written by Haivision Systems Inc. 2019-06-27 (jdube) - GnuTLS/Nettle CRYSPR/4SRT (CRYypto Service PRovider for SRT) + MBedTLS CRYSPR/4SRT (CRYypto Service PRovider for SRT) *****************************************************************************/ -#ifndef CRYSPR_GNUTLS_H -#define CRYSPR_GNUTLS_H +#ifndef CRYSPR_MBEDTLS_H +#define CRYSPR_MBEDTLS_H #include #include @@ -59,5 +59,5 @@ typedef mbedtls_aes_context CRYSPR_AESCTX; /* CRYpto Service PRovider AES key struct tag_CRYSPR_methods *crysprMbedtls(void); -#endif /* CRYSPR_GNUTLS_H */ +#endif /* CRYSPR_MBEDTLS_H */