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

@@ -1202,7 +1202,7 @@ static int CyaSSL_SetTmpDH_buffer_wrapper(CYASSL_CTX* ctx, CYASSL* ssl,
word32 pSz = sizeof(p);
word32 gSz = sizeof(g);
der.buffer = buf;
der.buffer = (byte*)buf;
der.length = sz;
if (format != SSL_FILETYPE_ASN1 && format != SSL_FILETYPE_PEM)