noFilesystem load_buffer test fix for bigger certs

This commit is contained in:
toddouska
2011-12-05 16:00:33 -08:00
parent a81d3d02e1
commit bcfc8c50ad

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)