Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! Support DEFAULT keyword and '-' prefix in…
Browse files Browse the repository at this point in the history
… SSL_CTX_set1_groups_list()
  • Loading branch information
fwh-dc committed Oct 29, 2024
1 parent 2b820ad commit 4c7ef00
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ssl/t1_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,8 @@ static int gid_cb(const char *elem, int len, void *arg)
if (elem == NULL)
return 0;

while (elem[0] == '-' || elem[0] == '?') {
while (((elem[0] == '-' && !remove_group) || (elem[0] == '?' && !ignore_unknown))
&& len > 0) {
if (elem[0] == '-') {
remove_group = 1;
++elem;
Expand Down

0 comments on commit 4c7ef00

Please sign in to comment.