irontec / sngrep

Ncurses SIP Messages flow viewer
GNU General Public License v3.0
1.03k stars 187 forks source link

src/capture_openssl.h: fix build with libressl >= 3.5.0 #397

Closed ffontaine closed 2 years ago

ffontaine commented 2 years ago

Fix the following build failure with libressl >= 3.5.0:

capture_openssl.c: In function 'P_hash':
capture_openssl.c:101:18: error: storage size of 'hm' isn't known
  101 |         HMAC_CTX hm;
      |                  ^~

Fixes:

Signed-off-by: Fabrice Fontaine fontaine.fabrice@gmail.com

Kaian commented 2 years ago

Thanks!!