Use xs_evp_sign() for signing.

This commit is contained in:
default 2022-09-26 14:45:31 +02:00
parent e3cea55770
commit acb4bcd80f

2
http.c
View file

@ -65,7 +65,7 @@ d_char *http_signed_request(snac *snac, char *method, char *url,
strcmp(method, "POST") == 0 ? "post" : "get",
target, host, digest, date);
s64 = xs_rsa_sign(seckey, s, strlen(s));
s64 = xs_evp_sign(seckey, s, strlen(s));
}
/* build now the signature header */