projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[MBEDTLS]
[reactos.git]
/
reactos
/
dll
/
3rdparty
/
mbedtls
/
x509_csr.c
diff --git
a/reactos/dll/3rdparty/mbedtls/x509_csr.c
b/reactos/dll/3rdparty/mbedtls/x509_csr.c
index
be3ce06
..
166fdb9
100644
(file)
--- a/
reactos/dll/3rdparty/mbedtls/x509_csr.c
+++ b/
reactos/dll/3rdparty/mbedtls/x509_csr.c
@@
-170,14
+170,14
@@
int mbedtls_x509_csr_parse_der( mbedtls_x509_csr *csr,
return( ret );
}
- csr->version++;
-
- if( csr->version != 1 )
+ if( csr->version != 0 )
{
mbedtls_x509_csr_free( csr );
return( MBEDTLS_ERR_X509_UNKNOWN_VERSION );
}
+ csr->version++;
+
/*
* subject Name
*/