Re: [PATCH 1/2] gcrypt: test_tls_psk_init should write binary file instead text file.

2020-10-13 Thread Philippe Mathieu-Daudé
On 10/13/20 3:03 AM, Yonggang Luo wrote: On windows, if open file with "w", it's will automatically convert "\n" to "\r\n" when writing to file. Signed-off-by: Yonggang Luo --- tests/crypto-tls-psk-helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/crypto-tls

[PATCH 1/2] gcrypt: test_tls_psk_init should write binary file instead text file.

2020-10-12 Thread Yonggang Luo
On windows, if open file with "w", it's will automatically convert "\n" to "\r\n" when writing to file. Signed-off-by: Yonggang Luo --- tests/crypto-tls-psk-helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/crypto-tls-psk-helpers.c b/tests/crypto-tls-psk-helpers