Skip to content

Commit 0b9ef8f

Browse files
msi-debianmsi-debian
authored andcommitted
Adding define for wc_aes_block_size
1 parent 4b62cd4 commit 0b9ef8f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

wolfssh/internal.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,9 @@ WOLFSSH_LOCAL const char* NameByIndexType(byte type, word32* index);
460460

461461

462462
/* For cases when openssl coexist is used */
463-
#define AES_BLOCK_SIZE WC_AES_BLOCK_SIZE
463+
#ifndef AES_BLOCK_SIZE
464+
#define AES_BLOCK_SIZE WC_AES_BLOCK_SIZE
465+
#endif
464466

465467
#define STATIC_BUFFER_LEN AES_BLOCK_SIZE
466468
/* This is one AES block size. We always grab one

0 commit comments

Comments
 (0)