mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix declaration/implementation mismatch
This commit is contained in:
parent
16156ffd3a
commit
e2b231f4e0
3
r5dev/thirdparty/mbedtls/asn1parse.c
vendored
3
r5dev/thirdparty/mbedtls/asn1parse.c
vendored
@ -377,9 +377,10 @@ static int asn1_get_sequence_of_cb(void *ctx,
|
||||
int mbedtls_asn1_get_sequence_of(unsigned char **p,
|
||||
const unsigned char *end,
|
||||
mbedtls_asn1_sequence *cur,
|
||||
int tag)
|
||||
const int tag)
|
||||
{
|
||||
asn1_get_sequence_of_cb_ctx_t cb_ctx = { tag, cur };
|
||||
|
||||
memset(cur, 0, sizeof(mbedtls_asn1_sequence));
|
||||
return mbedtls_asn1_traverse_sequence_of(
|
||||
p, end, 0xFF, tag, 0, 0,
|
||||
|
@ -410,7 +410,7 @@ int mbedtls_asn1_get_bitstring_null(unsigned char **p,
|
||||
int mbedtls_asn1_get_sequence_of(unsigned char **p,
|
||||
const unsigned char *end,
|
||||
mbedtls_asn1_sequence *cur,
|
||||
int tag);
|
||||
const int tag);
|
||||
/**
|
||||
* \brief Free a heap-allocated linked list presentation of
|
||||
* an ASN.1 sequence, including the first element.
|
||||
|
Loading…
x
Reference in New Issue
Block a user