diff options
Diffstat (limited to 'src/sbearssl/sbearssl_ec_skey_from.c')
-rw-r--r-- | src/sbearssl/sbearssl_ec_skey_from.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sbearssl/sbearssl_ec_skey_from.c b/src/sbearssl/sbearssl_ec_skey_from.c index 79c326f..b579f7d 100644 --- a/src/sbearssl/sbearssl_ec_skey_from.c +++ b/src/sbearssl/sbearssl_ec_skey_from.c @@ -6,7 +6,7 @@ int sbearssl_ec_skey_from (sbearssl_ec_skey *l, br_ec_private_key const *k, stralloc *sa) { - if (!stralloc_catb(sa, k->x, k->xlen)) return 0 ; + if (!stralloc_catb(sa, (char const *)k->x, k->xlen)) return 0 ; l->curve = k->curve ; l->x = sa->len - k->xlen ; l->xlen = k->xlen ; |