aboutsummaryrefslogtreecommitdiff
path: root/request.f90
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeff@approximatrix.com>2020-05-13 06:44:16 -0400
committerJeffrey Armstrong <jeff@approximatrix.com>2020-05-13 06:44:16 -0400
commitb470a0c853d060d059e4890f6cbe6ef672edb6ea (patch)
tree3c4e98c2c027f6c7e44e1cae222fe11d2e82e86b /request.f90
parent8de10aa414b9cce25003beb333f2a8b1bb858098 (diff)
downloadLR-87-b470a0c853d060d059e4890f6cbe6ef672edb6ea.zip
LR-87-b470a0c853d060d059e4890f6cbe6ef672edb6ea.tar.gz
Switched to a non-deprecated call for TLS initialization
Diffstat (limited to 'request.f90')
-rw-r--r--request.f904
1 files changed, 2 insertions, 2 deletions
diff --git a/request.f90 b/request.f90
index fd6f016..7308a9e 100644
--- a/request.f90
+++ b/request.f90
@@ -113,7 +113,7 @@ contains
end if
! Set up ssl now
- ssl_method = tls_v1_3_client_method()
+ ssl_method = tls_client_method()
conn%ssl_ctx = ctx_new(ssl_method)
conn%ssl = ssl_new(conn%ssl_ctx)
if((.not. c_associated(conn%ssl)) .or. (set_fd(conn%ssl, conn%socket) /= 1)) then
@@ -265,4 +265,4 @@ contains
end function retrieve_characters
-end module request \ No newline at end of file
+end module request