mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-23 20:48:33 -04:00
fix style issues
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
This commit is contained in:
parent
dbea0a9cc5
commit
4df61d408d
@ -217,8 +217,8 @@ void x509_csr_check(char *key_file, char *cert_req_check_file, int md_type,
|
|||||||
olen = fread(check_buf, 1, sizeof(check_buf), f); // read the file
|
olen = fread(check_buf, 1, sizeof(check_buf), f); // read the file
|
||||||
fclose(f); // close the file
|
fclose(f); // close the file
|
||||||
|
|
||||||
TEST_ASSERT(olen >= pem_len - 1);
|
TEST_ASSERT(olen >= pem_len - 1);
|
||||||
TEST_ASSERT(memcmp(buf, check_buf, pem_len - 1) == 0);
|
TEST_ASSERT(memcmp(buf, check_buf, pem_len - 1) == 0);
|
||||||
|
|
||||||
|
|
||||||
der_len = mbedtls_x509write_csr_der(&req, buf, sizeof(buf));
|
der_len = mbedtls_x509write_csr_der(&req, buf, sizeof(buf));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user