Fix some dependencies and warnings in small config

This commit is contained in:
Manuel Pégourié-Gonnard 2013-09-18 17:18:34 +02:00
parent 5ad403f5b5
commit 1032c1d3ec
5 changed files with 28 additions and 15 deletions

View file

@ -954,6 +954,7 @@ void ssl_set_ciphersuites_for_version( ssl_context *ssl,
int major, int minor );
#if defined(POLARSSL_X509_CRT_PARSE_C)
#if defined(POLARSSL_X509_CRL_PARSE_C)
/**
* \brief Set the data required to verify peer certificate
*
@ -964,6 +965,7 @@ void ssl_set_ciphersuites_for_version( ssl_context *ssl,
*/
void ssl_set_ca_chain( ssl_context *ssl, x509_crt *ca_chain,
x509_crl *ca_crl, const char *peer_cn );
#endif /* POLARSSL_X509_CRL_PARSE_C */
/**
* \brief Set own certificate chain and private key