Home
last modified time | relevance | path

Searched refs:newtlsctx (Results 1 – 1 of 1) sorted by relevance

/freebsd-src/contrib/openbsm/bin/auditdistd/
H A Dproto_tls.c777 struct tls_ctx *newtlsctx; in tls_accept() local
816 newtlsctx = calloc(1, sizeof(*tlsctx)); in tls_accept()
817 if (newtlsctx == NULL) { in tls_accept()
824 proto_local_address(tcp, newtlsctx->tls_laddr, in tls_accept()
825 sizeof(newtlsctx->tls_laddr)); in tls_accept()
826 PJDLOG_ASSERT(strncmp(newtlsctx->tls_laddr, "tcp://", 6) == 0); in tls_accept()
827 bcopy("tls://", newtlsctx->tls_laddr, 6); in tls_accept()
828 *strrchr(newtlsctx->tls_laddr, ':') = '\0'; in tls_accept()
829 proto_remote_address(tcp, newtlsctx->tls_raddr, in tls_accept()
830 sizeof(newtlsctx->tls_raddr)); in tls_accept()
[all …]