Home » Developing U++ » U++ Developers corner » Problem with FreeBSD
Re: Problem with FreeBSD [message #60663 is a reply to message #60661] |
Sat, 29 June 2024 03:35  |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
Interestingly, there are two ssl.h:
/usr/local/include/openssl/ssl.h
/usr/include/openssl/ssl.h
First one:
# ifdef OPENSSL_X509_H
__owur X509 *SSL_get0_peer_certificate(const SSL *s);
__owur X509 *SSL_get1_peer_certificate(const SSL *s);
/* Deprecated in 3.0.0 */
# ifndef OPENSSL_NO_DEPRECATED_3_0
# define SSL_get_peer_certificate SSL_get1_peer_certificate
# endif
# endif
Second one:
# ifdef HEADER_X509_H
__owur X509 *SSL_get_peer_certificate(const SSL *s);
# endif
Basically, U++ should define OPENSSL_NO_DEPRECATED_3_0 ...
Regards,
Novo
|
|
|
Goto Forum:
Current Time: Sat Jul 19 12:15:25 CEST 2025
Total time taken to generate the page: 0.03727 seconds
|