Updated Readme file with Build Status on Master Branch.
Update code style: refactor rename ciphers_settings to ciphers_setting.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
# Eiffel Web Framework
|
||||
|
||||
[](https://travis-ci.org/EiffelWebFramework/EWF/)
|
||||
|
||||
|
||||
## Overview
|
||||
|
||||
|
||||
@@ -272,7 +272,7 @@ feature -- Authentication
|
||||
-- Associated optional credentials value.
|
||||
-- Computed as `username':`password'.
|
||||
|
||||
ciphers_settings: detachable READABLE_STRING_8
|
||||
ciphers_setting: detachable READABLE_STRING_8
|
||||
-- SSL cipher preference lists
|
||||
-- examples: DEFAULT, ALL, TLSv1
|
||||
-- check https://www.openssl.org/docs/man1.1.0/apps/ciphers.html
|
||||
@@ -410,12 +410,12 @@ feature -- Element change
|
||||
chunk_size := a_size
|
||||
end
|
||||
|
||||
set_ciphers_settings (a_ciphers_settings: READABLE_STRING_8)
|
||||
-- Set 'ciphers_settings' with 'a_ciphers_settings'.
|
||||
set_ciphers_setting (a_ciphers_setting: READABLE_STRING_8)
|
||||
-- Set 'ciphers_setting' with 'a_ciphers_setting'.
|
||||
do
|
||||
create {STRING_8} ciphers_settings.make_from_string (a_ciphers_settings)
|
||||
create {STRING_8} ciphers_setting.make_from_string (a_ciphers_setting)
|
||||
ensure
|
||||
cipher_settings_set: attached ciphers_settings as c_settings and then c_settings.same_string (a_ciphers_settings)
|
||||
cipher_setting_set: attached ciphers_setting as c_settings and then c_settings.same_string (a_ciphers_setting)
|
||||
end
|
||||
|
||||
note
|
||||
|
||||
@@ -373,7 +373,7 @@ feature -- Execution
|
||||
end
|
||||
|
||||
--| Cipher List
|
||||
if attached session.ciphers_settings as c_list then
|
||||
if attached session.ciphers_setting as c_list then
|
||||
curl_easy.setopt_string (curl_handle, {CURL_OPT_CONSTANTS}.curlopt_ssl_cipher_list, c_list )
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user