[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #17223 [Tor]: tortls.c compile errors on git master/current
#17223: tortls.c compile errors on git master/current
--------------------+----------------------------------
Reporter: yancm | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Tor | Version: Tor: unspecified
Keywords: | Actual Points:
Parent ID: | Points:
Sponsor: |
--------------------+----------------------------------
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
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17223>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs