blob: 1ab2d0018271573ba9fd143c7ee0915cddc9a1e1 (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* ISC license. */
#include <bearssl.h>
#include <s6-networking/sbearssl.h>
void sbearssl_cert_to (sbearssl_cert const *sc, br_x509_certificate *bc, char *s)
{
bc->data = (unsigned char *)s + sc->data ;
bc->data_len = sc->datalen ;
}
|