<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.2.2">
</HEAD>
<BODY>
Apple, once more, is showing their views on open markets...which <BR>
is at the same level as deprecating an API that is universal and not theirs.<BR>
<BR>
Best Regards,<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
Am 08.03.2015 um 13:57 schrieb Francis Brosnan Blázquez <<A HREF="mailto:francis@aspl.es">francis@aspl.es</A>>:
> It seems you are using clang (llvm).
Hi, correct.
> I've updated my local compile
> configuration to use it. I've fixed others like this one reported.
>
> Can you check SVN and see if it does the trick.
Yes, this solved it. Now for something OSX specific, where there seem to be quite some functions depreciated:
==> START
vortex_tls.c:73:16: error: 'ERR_get_error' is deprecated: first deprecated in OS X 10.7 [-Werror,-Wdeprecated-declarations]
while ((err = ERR_get_error()) != 0) {
^
/usr/include/openssl/err.h:266:15: note: 'ERR_get_error' has been explicitly marked deprecated here
unsigned long ERR_get_error(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
vortex_tls.c:74:3: error: 'ERR_error_string_n' is deprecated: first deprecated in OS X 10.7 [-Werror,-Wdeprecated-declarations]
ERR_error_string_n (err, log_buffer, sizeof (log_buffer));
^
/usr/include/openssl/err.h:280:6: note: 'ERR_error_string_n' has been explicitly marked deprecated here
void ERR_error_string_n(unsigned long e, char *buf, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
vortex_tls.c:198:2: error: 'SSL_library_init' is deprecated: first deprecated in OS X 10.7 [-Werror,-Wdeprecated-declarations]
SSL_library_init ();
^
/usr/include/openssl/ssl.h:1558:5: note: 'SSL_library_init' has been explicitly marked deprecated here
int SSL_library_init(void ) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
vortex_tls.c:470:8: error: 'SSL_read' is deprecated: first deprecated in OS X 10.7 [-Werror,-Wdeprecated-declarations]
res = SSL_read (ssl, buffer, buffer_len);
^
/usr/include/openssl/ssl.h:1498:6: note: 'SSL_read' has been explicitly marked deprecated here
int SSL_read(SSL *ssl,void *buf,int num) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
vortex_tls.c:476:12: error: 'SSL_get_error' is deprecated: first deprecated in OS X 10.7 [-Werror,-Wdeprecated-declarations]
ssl_err = SSL_get_error(ssl, res);
^
/usr/include/openssl/ssl.h:1506:5: note: 'SSL_get_error' has been explicitly marked deprecated here
int SSL_get_error(const SSL *s,int ret_code) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
vortex_tls.c:553:8: error: 'SSL_write' is deprecated: first deprecated in OS X 10.7 [-Werror,-Wdeprecated-declarations]
res = SSL_write (ssl, buffer, buffer_len);
^
/usr/include/openssl/ssl.h:1500:6: note: 'SSL_write' has been explicitly marked deprecated here
int SSL_write(SSL *ssl,const void *buf,int num) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
vortex_tls.c:559:12: error: 'SSL_get_error' is deprecated: first deprecated in OS X 10.7 [-Werror,-Wdeprecated-declarations]
ssl_err = SSL_get_error(ssl, res);
^
/usr/include/openssl/ssl.h:1506:5: note: 'SSL_get_error' has been explicitly marked deprecated here
int SSL_get_error(const SSL *s,int ret_code) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
vortex_tls.c:630:30: error: 'SSL_free' is deprecated: first deprecated in OS X 10.7 [-Werror,-Wdeprecated-declarations]
NULL, (axlDestroyFunc) SSL_free);
^
/usr/include/openssl/ssl.h:1495:6: note: 'SSL_free' has been explicitly marked deprecated here
void SSL_free(SSL *ssl) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
vortex_tls.c:632:30: error: 'SSL_CTX_free' is deprecated: first deprecated in OS X 10.7 [-Werror,-Wdeprecated-declarations]
NULL, (axlDestroyFunc) SSL_CTX_free);
^
/usr/include/openssl/ssl.h:1352:6: note: 'SSL_CTX_free' has been explicitly marked deprecated here
void SSL_CTX_free(SSL_CTX *) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
vortex_tls.c:729:14: error: 'SSL_CTX_new' is deprecated: first deprecated in OS X 10.7 [-Werror,-Wdeprecated-declarations]
ssl_ctx = SSL_CTX_new (TLSv1_client_method ());
^
/usr/include/openssl/ssl.h:1351:10: note: 'SSL_CTX_new' has been explicitly marked deprecated here
SSL_CTX *SSL_CTX_new(SSL_METHOD *meth) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
vortex_tls.c:729:27: error: 'TLSv1_client_method' is deprecated: first deprecated in OS X 10.7 [-Werror,-Wdeprecated-declarations]
ssl_ctx = SSL_CTX_new (TLSv1_client_method ());
^
/usr/include/openssl/ssl.h:1526:13: note: 'TLSv1_client_method' has been explicitly marked deprecated here
SSL_METHOD *TLSv1_client_method(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; /* TLSv1.0 */
^
vortex_tls.c:746:8: error: 'SSL_new' is deprecated: first deprecated in OS X 10.7 [-Werror,-Wdeprecated-declarations]
ssl = SSL_new (ssl_ctx);
^
/usr/include/openssl/ssl.h:1486:7: note: 'SSL_new' has been explicitly marked deprecated here
SSL * SSL_new(SSL_CTX *ctx) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
vortex_tls.c:754:2: error: 'SSL_set_fd' is deprecated: first deprecated in OS X 10.7 [-Werror,-Wdeprecated-declarations]
SSL_set_fd (ssl, vortex_connection_get_socket (connection));
^
/usr/include/openssl/ssl.h:1375:5: note: 'SSL_set_fd' has been explicitly marked deprecated here
int SSL_set_fd(SSL *s, int fd) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
vortex_tls.c:762:9: error: 'SSL_connect' is deprecated: first deprecated in OS X 10.7 [-Werror,-Wdeprecated-declarations]
while (SSL_connect (ssl) <= 0) {
^
/usr/include/openssl/ssl.h:1497:6: note: 'SSL_connect' has been explicitly marked deprecated here
int SSL_connect(SSL *ssl) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
vortex_tls.c:765:17: error: 'SSL_get_error' is deprecated: first deprecated in OS X 10.7 [-Werror,-Wdeprecated-declarations]
ssl_error = SSL_get_error (ssl, -1);
^
/usr/include/openssl/ssl.h:1506:5: note: 'SSL_get_error' has been explicitly marked deprecated here
int SSL_get_error(const SSL *s,int ret_code) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
vortex_tls.c:789:20: error: 'ERR_error_string' is deprecated: first deprecated in OS X 10.7 [-Werror,-Wdeprecated-declarations]
ssl_error, ERR_error_string (ssl_error, NULL));
^
../src/vortex.h:284:92: note: expanded from macro 'vortex_log'
# define vortex_log(l, m, ...) do{_vortex_log (ctx, __AXL_FILE__, __AXL_LINE__, l, m, ##__VA_ARGS__);}while(0)
^
/usr/include/openssl/err.h:279:7: note: 'ERR_error_string' has been explicitly marked deprecated here
char *ERR_error_string(unsigned long e,char *buf) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
vortex_tls.c:799:16: error: 'SSL_get_peer_certificate' is deprecated: first deprecated in OS X 10.7 [-Werror,-Wdeprecated-declarations]
server_cert = SSL_get_peer_certificate (ssl);
^
/usr/include/openssl/ssl.h:1455:8: note: 'SSL_get_peer_certificate' has been explicitly marked deprecated here
X509 * SSL_get_peer_certificate(const SSL *s) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
vortex_tls.c:873:11: error: 'SSL_get_verify_result' is deprecated: first deprecated in OS X 10.7 [-Werror,-Wdeprecated-declarations]
result = SSL_get_verify_result (ssl);
^
/usr/include/openssl/ssl.h:1589:6: note: 'SSL_get_verify_result' has been explicitly marked deprecated here
long SSL_get_verify_result(const SSL *ssl) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
vortex_tls.c:884:9: error: 'SSL_get_peer_certificate' is deprecated: first deprecated in OS X 10.7 [-Werror,-Wdeprecated-declarations]
peer = SSL_get_peer_certificate (ssl);
^
/usr/include/openssl/ssl.h:1455:8: note: 'SSL_get_peer_certificate' has been explicitly marked deprecated here
X509 * SSL_get_peer_certificate(const SSL *s) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
<== END
BTW: Thanks for the fast response and interaction here :-)
--
Robert M. Münch
M: +41 79 65 11 49 6
Saphirion AG
<A HREF="http://www.saphirion.com">http://www.saphirion.com</A>
smarter | better | faster
_______________________________________________
Vortex mailing list
<A HREF="mailto:Vortex@lists.aspl.es">Vortex@lists.aspl.es</A>
<A HREF="http://lists.aspl.es/cgi-bin/mailman/listinfo/vortex">http://lists.aspl.es/cgi-bin/mailman/listinfo/vortex</A>
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>