noFilesystem load_buffer test fix for bigger certs

pull/1/head
toddouska 2011-12-05 16:00:33 -08:00
parent a81d3d02e1
commit bcfc8c50ad
1 changed files with 2 additions and 2 deletions

View File

@ -506,11 +506,11 @@ static INLINE unsigned int my_psk_server_cb(CYASSL* ssl, const char* identity,
CYASSL_KEY = 3
};
static INLINE void load_buffer(SSL_CTX* ctx, const char* fname, int type)
static INLINE void load_buffer(CYASSL_CTX* ctx, const char* fname, int type)
{
/* test buffer load */
long sz = 0;
byte buff[4096];
byte buff[10000];
FILE* file = fopen(fname, "rb");
if (!file)