1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-01 10:06:53 +03:00

Const correctness

This commit is contained in:
Paul Bakker
2013-10-28 21:19:10 +01:00
parent 6a6087e71d
commit 50dc850c52
7 changed files with 21 additions and 14 deletions

View File

@ -66,7 +66,8 @@ void x509write_csr_set_key( x509write_csr *ctx, pk_context *key )
ctx->key = key;
}
int x509write_csr_set_subject_name( x509write_csr *ctx, char *subject_name )
int x509write_csr_set_subject_name( x509write_csr *ctx,
const char *subject_name )
{
return x509_string_to_names( &ctx->subject, subject_name );
}