Merge pull request #8934 from dgarske/macos_typo

Fix minor code typos for macos signal and types.h max block size
pull/8926/head
Daniel Pouzzner 2025-06-27 14:11:31 -05:00 committed by GitHub
commit 4421f8bd84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -3974,7 +3974,7 @@ char* mystrnstr(const char* s1, const char* s2, unsigned int n)
*/
if (dispatch_semaphore_signal(s->sem) < 0) {
dispatch_release(s->sem);
return return MEMORY_E;
return MEMORY_E;
}
#elif defined(__OS2__)
DosCreateMutexSem( NULL, &cond->mutex, 0, FALSE );

View File

@ -2084,7 +2084,7 @@ enum Max_ASN {
#ifndef WC_MAX_DIGEST_SIZE
#define WC_MAX_DIGEST_SIZE 64
#endif
#ifndef WC_MAX_DIGEST_SIZE
#ifndef WC_MAX_BLOCK_SIZE
#define WC_MAX_BLOCK_SIZE 128
#endif