pjproject: fix build with OpenSSL 4.0

OpenSSL 4.0 makes ASN1_TIME opaque. Backport upstream fix using
ASN1_TIME_to_tm() API.

Upstream-Status: Backport [https://github.com/pjsip/pjproject/commit/3923fad2e4f6]
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Jaipaul Cheernam authored and Khem Raj committed 2026-08-27 23:33:16 -07:00
1 parent f4e34250ad
commit 7fd7419390
5 files changed
+49 -1

No files matched your search

@@ -10,6 +10,8 @@ and use ASN1_STRING accessors for opaque struct access.
Upstream-Status: Submitted [https://github.com/grpc/grpc/pull/41932]
Note: Our fix for areas not covered by the upstream PR.
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
src/core/tsi/ssl_transport_security.cc | 10 +++++-----
@@ -9,6 +9,8 @@ auto* for X509_NAME and const for ASN1_OCTET_STRING.
Upstream-Status: Submitted [https://github.com/grpc/grpc/pull/41932]
Note: Our fix for areas not covered by the upstream PR.
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
src/core/tsi/ssl_transport_security_utils.cc | 10 +++++-----
@@ -10,6 +10,8 @@ to avoid const-to-non-const assignment.
Upstream-Status: Submitted [https://github.com/grpc/grpc/pull/41932]
Note: Our fix for areas not covered by the upstream PR.
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
src/core/tsi/ssl_transport_security.cc | 7 +++----