Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#3748 closed defect (fixed)

Wrong version detection for gnutls certificate support

Reported by: ManfredTremmel Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: gnutls
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
The gnutls certificate support was added in gnutls 3.0.20, in libavformat/tls.c line 226 (sources of ffmpeg 2.2.4), the preprocessor only checks the MAJOR, so it tries to compile against gnutls 3.0 - 3.0.19 with certificate support what fails.
Please change the line from

#if GNUTLS_VERSION_MAJOR >= 3

to

#if GNUTLS_VERSION_NUMBER >= 0x030020

Change History (2)

comment:1 by Ganesh Ajjanagadde, 9 years ago

Resolution: fixed
Status: newclosed

comment:2 by Carl Eugen Hoyos, 9 years ago

Keywords: version detection removed
Version: 2.2.4git-master
Note: See TracTickets for help on using tickets.