mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-22 04:20:59 +00:00
Change pkcs12 test comparison macro to the new macro
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
This commit is contained in:
parent
8317e91b1e
commit
75b9eb36b4
@ -1,6 +1,5 @@
|
||||
/* BEGIN_HEADER */
|
||||
#include "mbedtls/pkcs12.h"
|
||||
#include "mbedtls/oid.h"
|
||||
#include "common.h"
|
||||
|
||||
typedef enum {
|
||||
@ -60,7 +59,7 @@ void pkcs12_derive_key(int md_type, int key_size_arg,
|
||||
TEST_EQUAL(ret, expected_status);
|
||||
|
||||
if (expected_status == 0) {
|
||||
ASSERT_COMPARE(expected_output->x, expected_output->len,
|
||||
TEST_MEMORY_COMPARE(expected_output->x, expected_output->len,
|
||||
output_data, key_size);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user