mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-03-06 20:33:02 +00:00
Make PBE-related parts of PKCS12 depend on MBEDTLS_ASN1_PARSE_C
This commit is contained in:
@@ -48,6 +48,8 @@
|
||||
#include "mbedtls/des.h"
|
||||
#endif
|
||||
|
||||
#if defined(MBEDTLS_ASN1_PARSE_C)
|
||||
|
||||
static int pkcs12_parse_pbe_params( mbedtls_asn1_buf *params,
|
||||
mbedtls_asn1_buf *salt, int *iterations )
|
||||
{
|
||||
@@ -226,6 +228,8 @@ exit:
|
||||
return( ret );
|
||||
}
|
||||
|
||||
#endif /* MBEDTLS_ASN1_PARSE_C */
|
||||
|
||||
static void pkcs12_fill_buffer( unsigned char *data, size_t data_len,
|
||||
const unsigned char *filler, size_t fill_len )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user