packages/net/Netopeer2/patches/001-openss_1.1_support.patch
Rosen Penev 3197c5c9a9
Netopeer2: fix compilation with GCC10
Refreshed openssl patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-06-30 19:46:11 -07:00

11 lines
378 B
Diff

--- a/cli/commands.c 2020-05-08 16:29:28.284509842 +0300
+++ b/cli/commands.c 2020-05-08 16:29:38.856397844 +0300
@@ -1727,7 +1727,7 @@
BIO_printf(bio_out, "\n");
BIO_printf(bio_out, "Valid until: ");
- ASN1_TIME_print(bio_out, X509_get_notAfter(cert));
+ ASN1_TIME_print(bio_out, X509_get0_notAfter(cert));
BIO_printf(bio_out, "\n");
has_san = 0;