mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-29 22:20:30 +00:00
Remove incorrect copied comment
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
e17a8fd9fd
commit
096abc4dc0
@ -3246,10 +3246,8 @@ psa_status_t psa_sign_hash_complete(
|
||||
goto exit;
|
||||
}
|
||||
|
||||
/* Immediately reject a zero-length signature buffer. This guarantees
|
||||
* that signature must be a valid pointer. (On the other hand, the input
|
||||
* buffer can in principle be empty since it doesn't actually have
|
||||
* to be a hash.) */
|
||||
/* Immediately reject a zero-length signature buffer. This guarantees that
|
||||
* signature must be a valid pointer. */
|
||||
if (signature_size == 0) {
|
||||
status = PSA_ERROR_BUFFER_TOO_SMALL;
|
||||
goto exit;
|
||||
|
Loading…
x
Reference in New Issue
Block a user