mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-02-19 00:39:46 +00:00
Accept a trailing space at end of PEM lines
With certs being copy-pasted from webmails and all, this will probably become more and more common. closes #226
This commit is contained in:
@@ -1368,3 +1368,7 @@ x509parse_crt_file:"data_files/server7_pem_space.crt":1
|
||||
X509 File parse (all certificates fail)
|
||||
depends_on:MBEDTLS_ECP_C
|
||||
x509parse_crt_file:"data_files/server7_all_space.crt":MBEDTLS_ERR_PEM_INVALID_DATA + MBEDTLS_ERR_BASE64_INVALID_CHARACTER
|
||||
|
||||
X509 File parse (trailing spaces, OK)
|
||||
depends_on:MBEDTLS_ECP_C:MBEDTLS_ECP_DP_SECP256R1_ENABLED
|
||||
x509parse_crt_file:"data_files/server7_trailing_space.crt":0
|
||||
|
||||
Reference in New Issue
Block a user