- Do not depend on dhm code if POLARSSL_DHM_C not defined
This commit is contained in:
parent
3efa575ff2
commit
eaa89f8366
1 changed files with 2 additions and 0 deletions
|
@ -2049,6 +2049,7 @@ int x509parse_public_keyfile( rsa_context *rsa, const char *path )
|
||||||
return( ret );
|
return( ret );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(POLARSSL_DHM_C)
|
||||||
/*
|
/*
|
||||||
* Parse DHM parameters
|
* Parse DHM parameters
|
||||||
*/
|
*/
|
||||||
|
@ -2150,6 +2151,7 @@ int x509parse_dhmfile( dhm_context *dhm, const char *path )
|
||||||
|
|
||||||
return( ret );
|
return( ret );
|
||||||
}
|
}
|
||||||
|
#endif /* POLARSSL_DHM_C */
|
||||||
|
|
||||||
#if defined _MSC_VER && !defined snprintf
|
#if defined _MSC_VER && !defined snprintf
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
Loading…
Reference in a new issue