mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-29 18:34:51 +00:00
Fix warning
This commit is contained in:
parent
1e0c789c84
commit
73e6d6aa1f
@ -250,7 +250,7 @@ int EXPORT supl_server_connect(supl_ctx_t *ctx, char *server)
|
|||||||
|
|
||||||
SSLeay_add_ssl_algorithms();
|
SSLeay_add_ssl_algorithms();
|
||||||
// meth = TLSv1_client_method();
|
// meth = TLSv1_client_method();
|
||||||
meth = SSLv23_client_method();
|
meth = (SSL_METHOD*)SSLv23_client_method();
|
||||||
SSL_load_error_strings();
|
SSL_load_error_strings();
|
||||||
ctx->ssl_ctx = SSL_CTX_new(meth);
|
ctx->ssl_ctx = SSL_CTX_new(meth);
|
||||||
if (!ctx->ssl_ctx)
|
if (!ctx->ssl_ctx)
|
||||||
|
Loading…
Reference in New Issue
Block a user