Skip to content

Commit 4421f8b

Browse files
authored
Merge pull request #8934 from dgarske/macos_typo
Fix minor code typos for macos signal and types.h max block size
2 parents 22c8a01 + 3a20038 commit 4421f8b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

wolfcrypt/src/wc_port.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3974,7 +3974,7 @@ char* mystrnstr(const char* s1, const char* s2, unsigned int n)
39743974
*/
39753975
if (dispatch_semaphore_signal(s->sem) < 0) {
39763976
dispatch_release(s->sem);
3977-
return return MEMORY_E;
3977+
return MEMORY_E;
39783978
}
39793979
#elif defined(__OS2__)
39803980
DosCreateMutexSem( NULL, &cond->mutex, 0, FALSE );

wolfssl/wolfcrypt/types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2084,7 +2084,7 @@ enum Max_ASN {
20842084
#ifndef WC_MAX_DIGEST_SIZE
20852085
#define WC_MAX_DIGEST_SIZE 64
20862086
#endif
2087-
#ifndef WC_MAX_DIGEST_SIZE
2087+
#ifndef WC_MAX_BLOCK_SIZE
20882088
#define WC_MAX_BLOCK_SIZE 128
20892089
#endif
20902090

0 commit comments

Comments
 (0)