mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-01-03 13:15:42 +01:00
Fixed const correctness issues in programs and tests
(cherry picked from commit e0225e4d7f18f4565224f4997af537533d06a80d) Conflicts: programs/ssl/ssl_client2.c programs/ssl/ssl_server2.c programs/test/ssl_test.c programs/x509/cert_app.c
This commit is contained in:
parent
3c2122ff9d
commit
ef3f8c747e
21 changed files with 112 additions and 93 deletions
|
|
@ -41,7 +41,7 @@
|
|||
|
||||
#define MAX_CLIENT_CERTS 8
|
||||
|
||||
char *client_certificates[MAX_CLIENT_CERTS] =
|
||||
const char *client_certificates[MAX_CLIENT_CERTS] =
|
||||
{
|
||||
"client1.crt",
|
||||
"client2.crt",
|
||||
|
|
@ -53,7 +53,7 @@ char *client_certificates[MAX_CLIENT_CERTS] =
|
|||
"cert_sha512.crt"
|
||||
};
|
||||
|
||||
char *client_private_keys[MAX_CLIENT_CERTS] =
|
||||
const char *client_private_keys[MAX_CLIENT_CERTS] =
|
||||
{
|
||||
"client1.key",
|
||||
"client2.key",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue