Fix random serial DER encoding.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2026-05-12 19:48:30 +02:00
parent a4a1651ed4
commit d3ce3c20dc
2 changed files with 14 additions and 3 deletions

View File

@@ -74,6 +74,8 @@ typedef struct {
err_t rest_server_init(rest_conn_type_t conn_type);
void rest_handle_request(rest_conn_t *conn);
extern int x509_set_random_serial(mbedtls_x509write_cert *crt);
extern int rest_server_error(rest_response_t *response, int status_code, const char *message);
#endif