diff options
author | thekuwayama <thekuwayama@gmail.com> | 2019-12-31 21:12:34 +0900 |
---|---|---|
committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2020-01-25 00:30:40 +1300 |
commit | 5d866038920edf2729865653d6dc9309589f089a (patch) | |
tree | 5a7ad1b6b857a5db18e339ebeee53b36d1c22776 /ext/openssl/ossl_ssl.c | |
parent | f18559acf97a6f6aaf3d253417eb0100b262cbc6 (diff) | |
download | ruby-openssl-5d866038920edf2729865653d6dc9309589f089a.tar.gz |
modify test_add_certificate_chain_file to check ssl.peer_cert and ssl.peer_cert_chain
Diffstat (limited to 'ext/openssl/ossl_ssl.c')
-rw-r--r-- | ext/openssl/ossl_ssl.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ext/openssl/ossl_ssl.c b/ext/openssl/ossl_ssl.c index 8a73decc..4ee698cd 100644 --- a/ext/openssl/ossl_ssl.c +++ b/ext/openssl/ossl_ssl.c @@ -1326,17 +1326,18 @@ ossl_sslctx_add_certificate(int argc, VALUE *argv, VALUE self) * call-seq: * ctx.add_certificate_chain_file(certs_path, pkey_path) -> true | false * - * Loads (chain) certificate(s) from _certs_path_ and private key from + * Loads chain certificates from _certs_path_ and a private key from * _pkey_path_. * * === Parameters * _certs_path_:: - * A path to a (chain) certificate(s) file. A instance of String. + * A path to a chain certificates file. It may be a single certificate. + * An instance of String. * _pkey_path_:: - * A path to a private key file. A instance of String. + * A path to a private key file. An instance of String. * * === Note - * The file format of certificate and private key must be PEM. + * The file format of the certificate and private key must be PEM. * * The certificate file must be starting with the subject's certificate and * followed by intermediate CA certificates (and root CA certificate). |