[OpenSIPS-Devel] [OpenSIPS/opensips] f07b6d: Fix build with OpenSSL 4.x: replace direct ASN1_ST...

Peter Lemenkov noreply at github.com
Thu Jun 25 11:22:07 UTC 2026


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f07b6dd61611ccd9b7b420d0ebae345d8bf12ca6
      https://github.com/OpenSIPS/opensips/commit/f07b6dd61611ccd9b7b420d0ebae345d8bf12ca6
  Author: Peter Lemenkov <lemenkov at gmail.com>
  Date:   2026-06-25 (Thu, 25 Jun 2026)

  Changed paths:
    M modules/identity/identity.c
    M modules/tls_openssl/openssl_tls_vars.c

  Log Message:
  -----------
  Fix build with OpenSSL 4.x: replace direct ASN1_STRING member access (#3956)

OpenSSL 4.x made ASN1_STRING (struct asn1_string_st) an opaque type.
Replace all direct ->data and ->length member access with the public
accessor API (ASN1_STRING_get0_data, ASN1_STRING_length), available
since OpenSSL 1.1.0.

Fixes build on Fedora 45 (OpenSSL 4.x, GCC 16).


Assisted-by: Claude (Anthropic) <https://claude.ai>

Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>



To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list