1 (edited by eof 2011-04-11 12:17:20)

Topic: Improved memory management code.

I've added some functionality to wolfSSL that allows the developer
to hook in their own memory management code at runtime.

By default the behavior will remain as before, however if custom
functions are registered with wolfSSL embedded ssl library,
allocations will be routed through them.

I altered the code in types.h slightly so that the new memory
functions are used.

I also added 2 new files memory.h & memory.c
I'm not sure if these are the preferred file names ?

Eoin ó Fearghail, Agora Games.

Post's attachments

CyaMemoryPatch.diff 3.61 kb, 3 downloads since 2011-04-11 

You don't have the permssions to download the attachments of this post.

Share

Re: Improved memory management code.

Thanks for taking the time to submit the patch!  We'll add to the main branch this week.

Share