blob: 97cc59368917cf088a14acf71ec4c207bce5db4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* ISC license. */
#include <bearssl.h>
#include <s6-networking/sbearssl.h>
#include "sbearssl-internal.h"
char const *sbearssl_suite_name (br_ssl_session_parameters const *params)
{
for (size_t i = 0 ; i < sbearssl_suite_list_len ; i++)
if (sbearssl_suite_list[i].id == params->cipher_suite)
return sbearssl_suite_list[i].name ;
return 0 ;
}
|