aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/rpc.tlsclntd
diff options
context:
space:
mode:
authorRick Macklem <rmacklem@FreeBSD.org>2022-05-22 20:49:08 +0000
committerRick Macklem <rmacklem@FreeBSD.org>2022-05-22 20:49:08 +0000
commitf5b40aa0dea690314bc70f88634a13cbaa53b6f0 (patch)
tree28a815ea09d03852b5c8a6191f94da55be2b5834 /usr.sbin/rpc.tlsclntd
parent8d098deda3786b223e44ad1bed923a6d66dfa341 (diff)
Diffstat (limited to 'usr.sbin/rpc.tlsclntd')
-rw-r--r--usr.sbin/rpc.tlsclntd/rpc.tlsclntd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/rpc.tlsclntd/rpc.tlsclntd.c b/usr.sbin/rpc.tlsclntd/rpc.tlsclntd.c
index f650c42c539d..0c2549578f2d 100644
--- a/usr.sbin/rpc.tlsclntd/rpc.tlsclntd.c
+++ b/usr.sbin/rpc.tlsclntd/rpc.tlsclntd.c
@@ -188,7 +188,7 @@ main(int argc, char **argv)
break;
default:
fprintf(stderr, "usage: %s "
- "[-C/--ciphers preferred_ciphers] "
+ "[-C/--ciphers available_ciphers] "
"[-D/--certdir certdir] [-d/--debuglevel] "
"[-l/--verifylocs CAfile] [-m/--mutualverf] "
"[-p/--verifydir CApath] [-r/--crl CRLfile] "
@@ -486,13 +486,13 @@ rpctls_setupcl_ssl(void)
if (rpctls_ciphers != NULL) {
/*
- * Set preferred ciphers, since KERN_TLS only supports a
+ * Set available ciphers, since KERN_TLS only supports a
* few of them.
*/
- ret = SSL_CTX_set_cipher_list(ctx, rpctls_ciphers);
+ ret = SSL_CTX_set_ciphersuites(ctx, rpctls_ciphers);
if (ret == 0) {
rpctls_verbose_out("rpctls_setupcl_ssl: "
- "SSL_CTX_set_cipher_list failed: %s\n",
+ "SSL_CTX_set_ciphersuites failed: %s\n",
rpctls_ciphers);
SSL_CTX_free(ctx);
return (NULL);