Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #17223

Closed (moved)
Open
Opened Oct 03, 2015 by Trac@tracbot

tortls.c compile errors on git master/current

Hi,

On NetBSD 6_Stable (i386) compiling against openssl git master/current, I have been receiving the following errors for a couple of days:

CC src/common/tortls.o In file included from src/common/tortls.c:75:0: src/common/tortls.h:139:15: error: conflicting types for 'SSL_SESSION_get_master_key' /usr/local/ssl/include/openssl/ssl.h:1658:15: note: previous declaration of 'SSL_SESSION_get_master_key' was here src/common/tortls.c: In function 'log_cert_lifetime': src/common/tortls.c:2139:3: warning: passing argument 1 of 'X509_get_notBefore' discards qualifiers from pointer target type /usr/local/ssl/include/openssl/x509.h:694:13: note: expected 'struct X509 *' but argument is of type 'const struct X509 *' src/common/tortls.c:2147:3: warning: passing argument 1 of 'X509_get_notAfter' discards qualifiers from pointer target type /usr/local/ssl/include/openssl/x509.h:696:12: note: expected 'struct X509 *' but argument is of type 'const struct X509 *' src/common/tortls.c: In function 'check_cert_lifetime_internal': src/common/tortls.c:2309:3: warning: passing argument 1 of 'X509_get_notBefore' discards qualifiers from pointer target type /usr/local/ssl/include/openssl/x509.h:694:13: note: expected 'struct X509 *' but argument is of type 'const struct X509 *' src/common/tortls.c:2314:3: warning: passing argument 1 of 'X509_get_notAfter' discards qualifiers from pointer target type /usr/local/ssl/include/openssl/x509.h:696:12: note: expected 'struct X509 *' but argument is of type 'const struct X509 *' src/common/tortls.c: At top level: src/common/tortls.h:139:15: warning: 'SSL_SESSION_get_master_key' used but never defined Makefile:3222: recipe for target 'src/common/tortls.o' failed gmake[1]: *** [src/common/tortls.o] Error 1 gmake[1]: Leaving directory '/usr/local/src/tor' Makefile:1855: recipe for target 'all' failed gmake: *** [all] Error 2

I understand maintaining sync (tor/openssl - master branches) is not the primary concern of the effort, but thought I would bring this to your attention.

--gene

Trac:
Username: yancm

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Tor: 0.2.8.x-final
Milestone
Tor: 0.2.8.x-final
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#17223