Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Tor Tor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 328
    • Issues 328
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 31
    • Merge requests 31
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Core
  • TorTor
  • Issues
  • #4677
Closed
Open
Issue created Dec 08, 2011 by George Kadianakis@asnContributor

master won't build without V2_HANDSHAKE_SERVER

master won't build without V2_HANDSHAKE_SERVER:

tortls.c:1525:40: error: ‘tor_tls_debug_state_callback’ undeclared (first use in this function)
tortls.c:1525:40: note: each undeclared identifier is reported only once for each function it appears in

This happens because without V2_HANDSHAKE_SERVER, tor_tls_debug_state_callback is not defined and it's not visible when tor_tls_new() tries to do:

 SSL_set_info_callback(result->ssl, tor_tls_debug_state_callback);

This bug was introduced in 410e440a8d40e556cc445a1ecc6a8ed4109434b6, and simply always defining tor_tls_debug_state_callback (and not only when V2_HANDSHAKE_SERVER`) should fix it.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking