mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-11 13:35:37 +00:00
Merge pull request #3509 from AndrzejKurek/fi-x509-changes
x509.c: Remove one unnecessary cast
This commit is contained in:
commit
84afe68ad4
|
@ -176,7 +176,7 @@ static int x509_get_hash_alg( const mbedtls_x509_buf *alg, mbedtls_md_type_t *md
|
||||||
return( MBEDTLS_ERR_X509_INVALID_ALG +
|
return( MBEDTLS_ERR_X509_INVALID_ALG +
|
||||||
MBEDTLS_ERR_ASN1_UNEXPECTED_TAG );
|
MBEDTLS_ERR_ASN1_UNEXPECTED_TAG );
|
||||||
|
|
||||||
p = (unsigned char *) alg->p;
|
p = alg->p;
|
||||||
end = p + alg->len;
|
end = p + alg->len;
|
||||||
|
|
||||||
if( p >= end )
|
if( p >= end )
|
||||||
|
|
Loading…
Reference in a new issue