noPollPtr nopoll_realloc ( noPollPtr  ref,
size_t  size 
)

Realloc helper for nopoll library.

Parameters
refthe reference to reallocate.
sizeSize of the new reference.
Returns
A newly allocated pointer.
See also
nopoll_free

Referenced by nopoll_ctx_set_certificate().