@@ -137,7 +137,7 @@ cert_pem_to_der
137137
138138** context:** * any*
139139
140- Converts the PEM-formated SSL certificate chain data into the DER format (for later uses
140+ Converts the PEM-formatted SSL certificate chain data into the DER format (for later uses
141141in the [ set_der_cert] ( #set_der_cert )
142142function, for example).
143143
@@ -147,7 +147,7 @@ It is known that the `openssl` command-line utility may not convert the whole SS
147147certificate chain from PEM to DER correctly. So always use this Lua function to do
148148the conversion. You can always use libraries like [ lua-resty-lrucache] ( https://github.com/openresty/lua-resty-lrucache#readme )
149149and/or ngx_lua APIs like [ lua_shared_dict] ( https://github.com/openresty/lua-nginx-module#lua_shared_dict )
150- to do the caching of the DER-formated results, for example.
150+ to do the caching of the DER-formatted results, for example.
151151
152152This function can be called in whatever contexts.
153153
@@ -159,7 +159,7 @@ set_der_cert
159159
160160** context:** * ssl_certificate_by_lua* ; *
161161
162- Sets the DER-formated SSL certificate chain data for the current SSL connection. Note that
162+ Sets the DER-formatted SSL certificate chain data for the current SSL connection. Note that
163163the DER data is
164164directly in the Lua string argument. * No* external file names are supported here.
165165
@@ -177,7 +177,7 @@ priv_key_pem_to_der
177177
178178** context:** * any*
179179
180- Converts the PEM-formated SSL private key data into the DER format (for later uses
180+ Converts the PEM-formatted SSL private key data into the DER format (for later uses
181181in the [ set_der_priv_key] ( #set_der_priv_key )
182182function, for example).
183183
@@ -199,7 +199,7 @@ set_der_priv_key
199199
200200** context:** * ssl_certificate_by_lua* ; *
201201
202- Sets the DER-formated prviate key for the current SSL connection.
202+ Sets the DER-formatted prviate key for the current SSL connection.
203203
204204Returns ` true ` on success, or a ` nil ` value and a string describing the error otherwise.
205205
0 commit comments