mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#5341 GnuTLS ciphersuite parsing
This commit is contained in:
parent
ae471f78c3
commit
68316527c4
@ -307,6 +307,7 @@ tls_parse_ciphers( tls_ctx *ctx, char *suites )
|
||||
/* unrecognized cipher suite */
|
||||
return -1;
|
||||
}
|
||||
ptr += len + 1;
|
||||
} while (end);
|
||||
|
||||
/* Space for all 3 lists */
|
||||
@ -348,6 +349,7 @@ tls_parse_ciphers( tls_ctx *ctx, char *suites )
|
||||
break;
|
||||
}
|
||||
}
|
||||
ptr += len + 1;
|
||||
} while (end);
|
||||
kx[nkx] = 0;
|
||||
cipher[ncipher] = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user