summaryrefslogtreecommitdiff
path: root/src/sbearssl/sbearssl_sni_policy_nkeypairs.c
blob: 43a2d981aab0f3b07391c67a0b50b4ac0a8c891c (plain)
1
2
3
4
5
6
7
8
9
10
11
/* ISC license. */

#include <skalibs/genalloc.h>

#include <s6-networking/sbearssl.h>
#include "sbearssl-internal.h"

size_t sbearssl_sni_policy_nkeypairs (sbearssl_sni_policy_context const *pol)
{
  return genalloc_len(sbearssl_sni_policy_node, &pol->mapga) ;
}