Skip to content
Snippets Groups Projects
Commit 32d259f0 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

utils: fix initialization of dot_alpn

parent a337ce71
No related branches found
No related tags found
No related merge requests found
......@@ -33,11 +33,8 @@
#include "contrib/base64.h"
#include "libknot/errcode.h"
#define DOT_ALPN "\x03""dot"
const gnutls_datum_t dot_alpn = {
.data = (unsigned char *)&(DOT_ALPN[1]),
.size = DOT_ALPN[0]
(unsigned char *)"dot", 3
};
void tls_params_init(tls_params_t *params)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment