diff options
| author | 2026-07-22 19:40:42 +0100 | |
|---|---|---|
| committer | 2026-07-22 19:40:42 +0100 | |
| commit | 80c142af5ef9c9f9ae671f7b9a69e37fcfc5be06 (patch) | |
| tree | 8be65c51d06e12f2cc1749bd14e2c655ade06c5e /modules/extra/ssl_openssl.cpp | |
| parent | Fix remote overwrite of extended swhois with same tag (diff) | |
| parent | Add a separate config option for setting a WebSocket STS port. (diff) | |
Merge branch 'insp4' into master.
Diffstat (limited to 'modules/extra/ssl_openssl.cpp')
| -rw-r--r-- | modules/extra/ssl_openssl.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/extra/ssl_openssl.cpp b/modules/extra/ssl_openssl.cpp index 7c8a5707a..c3250db10 100644 --- a/modules/extra/ssl_openssl.cpp +++ b/modules/extra/ssl_openssl.cpp @@ -124,13 +124,16 @@ namespace OpenSSL StringSplitter groupstream(groups, ':'); for (std::string group; groupstream.GetToken(group); ) { - if (OBJ_sn2nid(group.c_str()) == NID_undef) - continue; + if (!SSL_CTX_set1_groups_list(ctx, group.c_str())) + continue; // Not supported. grouplist.append(grouplist.empty() ? "" : ":"); grouplist.append(group); } + if (grouplist.empty()) + grouplist = "DEFAULT"; + ServerInstance->Logs.Debug(MODNAME, "Relaxed groups from {} to {}", groups, grouplist); } |
