Proper const modifier in test_suite_x509_csr_check()

This commit is contained in:
Paul Bakker 2013-12-30 20:41:54 +01:00
parent 93759b048f
commit 3a8cb6ff8e

View file

@ -21,7 +21,7 @@ void x509_csr_check( char *key_file, int md_type,
int ret; int ret;
size_t olen = 0, pem_len = 0; size_t olen = 0, pem_len = 0;
FILE *f; FILE *f;
char *subject_name = "C=NL,O=PolarSSL,CN=PolarSSL Server 1"; const char *subject_name = "C=NL,O=PolarSSL,CN=PolarSSL Server 1";
rnd_pseudo_info rnd_info; rnd_pseudo_info rnd_info;
memset( &rnd_info, 0x2a, sizeof( rnd_pseudo_info ) ); memset( &rnd_info, 0x2a, sizeof( rnd_pseudo_info ) );