Remove incorrect copied comment
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
diff --git a/library/psa_crypto.c b/library/psa_crypto.c
index 78d8702..2797291 100644
--- a/library/psa_crypto.c
+++ b/library/psa_crypto.c
@@ -3246,10 +3246,8 @@
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;