mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-30 19:49:35 -05:00
ITS#5341 GnuTLS ciphersuite parsing
This commit is contained in:
parent
ae471f78c3
commit
68316527c4
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue