aboutsummaryrefslogtreecommitdiff
path: root/library/x509_crl.c
diff options
context:
space:
mode:
Diffstat (limited to 'library/x509_crl.c')
-rw-r--r--library/x509_crl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/x509_crl.c b/library/x509_crl.c
index d890f2c..73a300d 100644
--- a/library/x509_crl.c
+++ b/library/x509_crl.c
@@ -287,13 +287,13 @@ static int x509_get_entries( unsigned char **p,
size_t len2;
const unsigned char *end2;
+ cur_entry->raw.tag = **p;
if( ( ret = mbedtls_asn1_get_tag( p, end, &len2,
MBEDTLS_ASN1_SEQUENCE | MBEDTLS_ASN1_CONSTRUCTED ) ) != 0 )
{
return( ret );
}
- cur_entry->raw.tag = **p;
cur_entry->raw.p = *p;
cur_entry->raw.len = len2;
end2 = *p + len2;