1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 20:20:35 +00:00
This commit is contained in:
Carles Fernandez 2019-10-05 22:09:16 +02:00
commit 48c145b554
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -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)