Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #2652

Closed (moved)
(moved)
Open
Created Mar 04, 2011 by Robert Ransom@rransom

Clean up use of SSL_*_app_data functions

Commit 49de5431d53b made Tor use SSL_set_app_data and SSL_get_app_data instead of its previous hash table to look up the tor_tls_t * object corresponding to an SSL * object. Unfortunately:

  • The patch left in two hash-table helper functions that it made unused. Reported by mobmix.
  • The patch did not check the result of SSL_set_app_data for errors. Reported by piebeer.
  • The SSL_*_app_data functions are actually macros wrapping corresponding SSL_*_ex_data functions in such a way that a program that tries to use the app_data and ex_data functions at the same time will break horribly.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking