Skip to content

Commit 0358f5f

Browse files
committed
Updated pyCAL publish
1 parent 2ff9302 commit 0358f5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/cryptoauthlib/atcacert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ def atcacert_get_response(device_private_key_slot, challenge, response):
378378
Returns:
379379
ATCACERT_E_SUCCESS on success, otherwise an error code.
380380
"""
381-
if not isinstance(challenge, bytearray) or not isinstance(response, bytearray):
381+
if not isinstance(response, bytearray):
382382
status = Status.ATCA_BAD_PARAM
383383
else:
384384
c_challenge = cal_buffer(len(challenge), challenge)

0 commit comments

Comments
 (0)