diff options
author | Kazuki Yamaguchi <[email protected]> | 2025-06-03 02:30:28 +0900 |
---|---|---|
committer | git <[email protected]> | 2025-06-20 17:58:38 +0000 |
commit | 0d75dd1f47bd93427ecd29c13ce0729d92f8a858 () | |
tree | 8e55a02ffac91463273256f871a4cfc03f9e1a9f /ext | |
parent | 444b94c0879dd865599c8120414fbb7170835ee2 (diff) |
[ruby/openssl] ssl: update rdoc for SSLContext#ciphers= and #ciphersuites=
https://.com/ruby/openssl/commit/54f22395e7
-rw-r--r-- | ext/openssl/ossl_ssl.c | 16 |
1 files changed, 11 insertions, 5 deletions
@@ -1023,9 +1023,14 @@ build_cipher_string(VALUE v) * ctx.ciphers = [name, ...] * ctx.ciphers = [[name, version, bits, alg_bits], ...] * - * Sets the list of available cipher suites for this context. Note in a server - * context some ciphers require the appropriate certificates. For example, an - * RSA cipher suite can only be chosen when an RSA certificate is available. */ static VALUE ossl_sslctx_set_ciphers(VALUE self, VALUE v) @@ -1034,6 +1039,7 @@ ossl_sslctx_set_ciphers(VALUE self, VALUE v) VALUE str; rb_check_frozen(self); if (NIL_P(v)) return v; @@ -1050,9 +1056,8 @@ ossl_sslctx_set_ciphers(VALUE self, VALUE v) * call-seq: * ctx.ciphersuites = "cipher1:cipher2:..." * ctx.ciphersuites = [name, ...] - * ctx.ciphersuites = [[name, version, bits, alg_bits], ...] * - * Sets the list of available TLSv1.3 cipher suites for this context. */ static VALUE ossl_sslctx_set_ciphersuites(VALUE self, VALUE v) @@ -1061,6 +1066,7 @@ ossl_sslctx_set_ciphersuites(VALUE self, VALUE v) VALUE str; rb_check_frozen(self); if (NIL_P(v)) return v; |