commit | feaebc537779a6ded438930344b10965de927c04 | [log] [tgz] |
---|---|---|
author | Andrzej Kurek <andrzej.kurek@arm.com> | Thu Jul 16 04:37:41 2020 -0400 |
committer | Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com> | Tue Sep 01 11:04:53 2020 +0200 |
tree | c151871eddb16a5ea951f331fe2312d8d223d1ca | |
parent | d4b913385013071a7f4479c833797cb7267e1596 [diff] [blame] |
x509.c: Remove one unnecessary cast Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
diff --git a/library/x509.c b/library/x509.c index 1579c1a..2a7be32 100644 --- a/library/x509.c +++ b/library/x509.c
@@ -154,7 +154,7 @@ return( MBEDTLS_ERR_X509_INVALID_ALG + MBEDTLS_ERR_ASN1_UNEXPECTED_TAG ); - p = (unsigned char *) alg->p; + p = alg->p; end = p + alg->len; if( p >= end )