ssl_iostream_context_cache_hash,
ssl_iostream_context_cache_cmp);
}
- ssl_iostream_settings_drop_stream_only(&lookup.set);
ctx = hash_table_lookup(ssl_iostream_contexts, &lookup);
if (ctx != NULL) {
treated equal. */
bool ssl_iostream_settings_equals(const struct ssl_iostream_settings *set1,
const struct ssl_iostream_settings *set2);
-/* Clear out all stream-only settings, so only settings useful for a context
- are left. */
-void ssl_iostream_settings_drop_stream_only(struct ssl_iostream_settings *set);
void ssl_iostream_unref(struct ssl_iostream **ssl_io);
return memcmp(&set1_nonstr, &set2_nonstr, sizeof(set1_nonstr)) == 0;
}
-void ssl_iostream_settings_drop_stream_only(struct ssl_iostream_settings *set ATTR_UNUSED)
-{
-}
-
const char *ssl_iostream_get_cipher(struct ssl_iostream *ssl_io,
unsigned int *bits_r)
{
struct ssl_iostream_settings {
/* NOTE: when updating, remember to update:
- ssl_iostream_settings_string_offsets[],
- ssl_iostream_settings_drop_stream_only() */
+ ssl_iostream_settings_string_offsets[] */
const char *min_protocol; /* context-only */
const char *cipher_list; /* context-only, TLSv1.2 and below only */
const char *ciphersuites; /* context-only, TLSv1.3 only */