[OpenSIPS-Devel] [OpenSIPS/opensips] a58909: proto_ipsec: Correct fix for struct ordering issue...

Liviu Chircu noreply at github.com
Sun May 12 13:55:01 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a5890980ebd848eded8df9a3b9fd18d8b938f62e
      https://github.com/OpenSIPS/opensips/commit/a5890980ebd848eded8df9a3b9fd18d8b938f62e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2024-05-12 (Sun, 12 May 2024)

  Changed paths:
    M modules/proto_ipsec/ipsec.c

  Log Message:
  -----------
  proto_ipsec: Correct fix for struct ordering issue in 45272908

Original error, on (clang-arm32-qemu-cross, ubuntu-22.04):

ipsec.c:384:19: error: field 'algo' with variable sized type
'struct xfrm_algo' not at the end of a struct or class is a GNU
extension [-Werror,-Wgnu-variable-sized-type-not-at-end]
  384 |         struct xfrm_algo algo;
      |                          ^

Credits to Răzvan Crainea for spotting the bug!



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



More information about the Devel mailing list