Skip to content

Commit 1ad2b5f

Browse files
committed
Fix comments and shellcheck warning
1 parent 5bedbff commit 1ad2b5f

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3404,7 +3404,7 @@ AS_IF([test "x$with_cryptoauthlib" != "xno"], [
34043404
CPPFLAGS="$saved_CPPFLAGS"
34053405
CFLAGS="$saved_CFLAGS"
34063406
AC_MSG_RESULT([no - compilation failed])
3407-
AC_MSG_ERROR([CryptoAuthLib found but test compilation failed. Check config.log for details.])
3407+
AC_MSG_ERROR([CryptoAuthLib found but compilation check failed. Check config.log for details.])
34083408
])
34093409
], [
34103410
AC_MSG_RESULT([no - library not found])

wolfcrypt/src/port/atmel/atmel.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -228,15 +228,15 @@ which is of 8 byte
228228
229229
typedef struct
230230
{
231-
uint8_t element_CKA; //!< contains class, key_type & Algorithm mode
232-
uint16_t property; //!< properties of the element
233-
uint8_t usage_key; //!< usage key
234-
uint8_t write_key; //!< write key
235-
uint8_t read_key; //!< read key
236-
uint8_t permission; //!< permission of the element usage|write|read|
237-
//delete perm
238-
uint8_t byte7_settings; //!< Byte 7 attributes use_count|exportable|
239-
// lockable|access_limit
231+
uint8_t element_CKA; /* contains class, key_type & Algorithm mode */
232+
uint16_t property; /* properties of the element */
233+
uint8_t usage_key; /* usage key */
234+
uint8_t write_key; /* write key */
235+
uint8_t read_key; /* read key */
236+
uint8_t permission; /* permission of the element usage|write|read|
237+
delete perm */
238+
uint8_t byte7_settings; /* Byte 7 attributes use_count|exportable|
239+
lockable|access_limit */
240240
} ATCA_PACKED ta_element_attributes_t;
241241

242242
See Shared Data Element Attributes in the programming specifications

0 commit comments

Comments
 (0)