Fix compiler errors on many platforms.

Also added comment to explain why I added a seemingly pointless goto

Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
Paul Elliott 2021-06-23 16:06:01 +01:00
parent 2007d70a5a
commit 8fc45169f1

View File

@ -3636,9 +3636,10 @@ void aead_multipart_encrypt( int key_type_arg, data_t *key_data,
}
}
goto exit;
exit:
/* Goto is required to silence warnings about unused labels, as we
* don't actually do any test assertions in this function. */
goto exit;
}
/* END_CASE */
@ -3688,9 +3689,9 @@ void aead_multipart_decrypt( int key_type_arg, data_t *key_data,
}
}
/* Goto is required to silence warnings about unused labels, as we
* don't actually do any test assertions in this function. */
goto exit;
exit:
}
/* END_CASE */