Upstream changed. Add license information. Add PKG_BUILD_PARALLEL for faster compilation. Remove several outdated options. Refreshed OpenSSL patch. Other small cleanups. Signed-off-by: Rosen Penev <rosenp@gmail.com>
15 lines
535 B
Diff
15 lines
535 B
Diff
--- a/src/ne_openssl.c
|
|
+++ b/src/ne_openssl.c
|
|
@@ -230,10 +230,10 @@ void ne_ssl_cert_validity_time(const ne_ssl_certificate *cert,
|
|
time_t *from, time_t *until)
|
|
{
|
|
if (from) {
|
|
- *from = asn1time_to_timet(X509_get_notBefore(cert->subject));
|
|
+ *from = asn1time_to_timet(X509_get0_notBefore(cert->subject));
|
|
}
|
|
if (until) {
|
|
- *until = asn1time_to_timet(X509_get_notAfter(cert->subject));
|
|
+ *until = asn1time_to_timet(X509_get0_notAfter(cert->subject));
|
|
}
|
|
}
|
|
|