From 3a8cb6ff8ea13e0a67528a24eacff821f6858bf6 Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Mon, 30 Dec 2013 20:41:54 +0100
Subject: [PATCH] Proper const modifier in test_suite_x509_csr_check()
---
tests/suites/test_suite_x509write.function | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/suites/test_suite_x509write.function b/tests/suites/test_suite_x509write.function
index 8b57f8cce..ca097e7ad 100644
--- a/tests/suites/test_suite_x509write.function
+++ b/tests/suites/test_suite_x509write.function
@@ -21,7 +21,7 @@ void x509_csr_check( char *key_file, int md_type,
int ret;
size_t olen = 0, pem_len = 0;
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;
memset( &rnd_info, 0x2a, sizeof( rnd_pseudo_info ) );