Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935255 - net-analyzer/monitoring-plugins-2.3.5[gnutls]: error: 'SSL3_VERSION' undeclared
Summary: net-analyzer/monitoring-plugins-2.3.5[gnutls]: error: 'SSL3_VERSION' undeclared
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tomáš Mózes
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-30 23:23 UTC by Michael Orlitzky
Modified: 2024-06-30 23:23 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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);
      |                                                    ^~~~~~~~~~~~~~