Project

General

Profile

Bug #302

error int tls-auth.c when making libprelude

Added by over 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
Due date:
% Done:

0%

Resolution:
fixed

Description

Hello,

When making libprelude 0.9.18 under openbsd 4.3 with gnutls 2.0.4 installed I get the following error :

0.9.18 returns a different error when making (gnutls 2.0.4)

tls-auth.c: In function @tls_auth_init_priority':
tls-auth.c:260: error: @priority_set' undeclared (first use in this function)
tls-auth.c:260: error: (Each undeclared identifier is reported only once
tls-auth.c:260: error: for each function it appears in.)
tls-auth.c: In function @tls_auth_connection':
tls-auth.c:273: error: @priority_set' undeclared (first use in this function)
  • Error code 1

I think the error is because when "HAVE_GNUTLS_STRING_PRIORITY" is not defined then priority_set is not declared but is still used (outside of the #ifdef scope in tls_auth_init_priority() & also in tls_auth_connection()).

History

#1 Updated by Yoann VANDOORSELAERE over 11 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

(In r10689) Fix compilation error with [[GnuTLS]] < 2.2.0 (fix #302).

#2 Updated by Yoann VANDOORSELAERE almost 11 years ago

  • Project changed from PRELUDE SIEM to Libprelude
  • Category deleted (1)
  • Target version deleted (0.9.19)

Also available in: Atom PDF