1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +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

@ -31,11 +31,11 @@
#include "polarssl/asn1write.h"
#include "polarssl/oid.h"
int x509_string_to_names( asn1_named_data **head, char *name )
int x509_string_to_names( asn1_named_data **head, const char *name )
{
int ret = 0;
char *s = name, *c = s;
char *end = s + strlen( s );
const char *s = name, *c = s;
const char *end = s + strlen( s );
const char *oid = NULL;
int in_tag = 1;
asn1_named_data *cur;