warning fixes, 2.0.1 pre

This commit is contained in:
toddouska
2011-11-01 16:17:45 -07:00
parent ef72bae2ff
commit 8ddd2185c2
5 changed files with 10 additions and 10 deletions

View File

@@ -150,10 +150,10 @@ THREAD_RETURN CYASSL_THREAD server_test(void* args)
SSL_set_fd(ssl, clientfd);
#ifdef NO_PSK
#ifdef NO_FILESYSTEM
SetDH(ssl); /* will repick suites with DHE, higher priority than PSK */
#else
#if !defined(NO_FILESYSTEM) && defined(OPENSSL_EXTRA)
CyaSSL_SetTmpDH_file(ssl, dhParam, SSL_FILETYPE_PEM);
#else
SetDH(ssl); /* will repick suites with DHE, higher priority than PSK */
#endif
#endif