Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 935255

Summary: net-analyzer/monitoring-plugins-2.3.5[gnutls]: error: 'SSL3_VERSION' undeclared
Product: Gentoo Linux Reporter: Michael Orlitzky <mjo>
Component: Current packagesAssignee: Tomáš Mózes <hydrapolic>
Status: CONFIRMED ---    
Severity: normal CC: jy6x2b32pie9, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=919368
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Orlitzky gentoo-dev 2024-06-30 23:23:43 UTC
Starting a new report after bug 896088. Even in the latest monitoring-plugins, the build fails with USE=gnutls:

sslutils.c:66:17: warning: implicit declaration of function 'SSL_CTX_set_min_proto_version' [-Wimplicit-function-declaration]
   66 |                 SSL_CTX_set_min_proto_version(ctx, SSL3_VERSION);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslutils.c:66:52: error: 'SSL3_VERSION' undeclared (first use in this function); did you mean 'NP_VERSION'?
   66 |                 SSL_CTX_set_min_proto_version(ctx, SSL3_VERSION);
      |                                                    ^~~~~~~~~~~~
      |                                                    NP_VERSION
sslutils.c:66:52: note: each undeclared identifier is reported only once for each function it appears in
sslutils.c:67:17: warning: implicit declaration of function 'SSL_CTX_set_max_proto_version' [-Wimplicit-function-declaration]
   67 |                 SSL_CTX_set_max_proto_version(ctx, SSL3_VERSION);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslutils.c:75:52: error: 'TLS1_VERSION' undeclared (first use in this function); did you mean 'GNUTLS_VERSION'?
   75 |                 SSL_CTX_set_min_proto_version(ctx, TLS1_VERSION);
      |                                                    ^~~~~~~~~~~~
      |                                                    GNUTLS_VERSION
sslutils.c:110:52: error: 'TLS1_1_VERSION' undeclared (first use in this function)
  110 |                 SSL_CTX_set_min_proto_version(ctx, TLS1_1_VERSION);
      |                                                    ^~~~~~~~~~~~~~