Lines Matching refs:ciphers
167 tls_ctx_restrict_ciphers(struct tls_root_ctx *ctx, const char *ciphers)
171 int ciphers_len = strlen (ciphers);
176 /* Get number of ciphers */
178 if (ciphers[i] == ':')
184 /* Parse allowed ciphers, getting IDs */
186 tmp_ciphers_orig = tmp_ciphers = strdup(ciphers);
844 const int *ciphers = ssl_list_ciphersuites();
851 while (*ciphers != 0)
853 printf ("%s\n", ssl_get_ciphersuite_name(*ciphers));
854 ciphers++;
863 const int *ciphers = ssl_list_ciphersuites();
864 if (*ciphers == 0)
865 msg (M_FATAL, "Cannot retrieve list of supported SSL ciphers.");
867 cipher_name = ssl_get_ciphersuite_name(*ciphers);