blob: ca24ea9d029ec71102c3bacf35eaeb66b6ce293a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* ISC license. */
#include <errno.h>
#include <skalibs/stralloc.h>
#include "sbearssl-internal.h"
void sbearssl_append (void *stuff, void const *src, size_t len)
{
sbearssl_strallocerr *blah = stuff ;
blah->err = stralloc_catb(blah->sa, (char const *)src, len) ? 0 : errno ;
}
|