mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Add test for dhm_parse_dhmfile
This commit is contained in:
parent
66dfc5a689
commit
3fec220a33
5 changed files with 34 additions and 0 deletions
|
|
@ -460,6 +460,8 @@ int dhm_parse_dhm( dhm_context *dhm, const unsigned char *dhmin, size_t dhminlen
|
|||
|
||||
ret = 0;
|
||||
|
||||
dhm->len = mpi_size( &dhm->P );
|
||||
|
||||
exit:
|
||||
#if defined(POLARSSL_PEM_PARSE_C)
|
||||
pem_free( &pem );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue