cryptochip-gen-random: refresh the warning to use the new library application

The newest version of cryptoauthlib provides a new test application to validate
and lock the cryptochip configuration.

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
Arturo Buzarra 2021-01-13 12:42:44 +01:00
parent ff6869f690
commit f397c85183
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017 Digi International Inc. * Copyright (c) 2017-2021 Digi International Inc.
* *
* Permission to use, copy, modify, and/or distribute this software for any * Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above * purpose with or without fee is hereby granted, provided that the above
@ -30,7 +30,7 @@ int main(void)
atcab_is_locked(LOCK_ZONE_CONFIG, &is_locked); atcab_is_locked(LOCK_ZONE_CONFIG, &is_locked);
if (!is_locked) { if (!is_locked) {
printf("**WARNING**: the cryptochip is currently not configured. Run " printf("**WARNING**: the cryptochip is currently not configured. Run "
"ecc-test-main at least once to be able to run this example.\n"); "cryptoauth_test and lock the Config Zone to be able to run this example.\n");
atcab_release(); atcab_release();
return 1; return 1;
} }