secur32: Remove redendant call to gnutls_certificate_get_peers.
Two identical calls are made with the same parameters, and there are no documented side effects of this function, so I removed one of them.
This commit is contained in:
parent
ee1dd49076
commit
fdcfbe21c3
|
@ -958,8 +958,7 @@ static SECURITY_STATUS SEC_ENTRY schan_QueryContextAttributesW(
|
||||||
case SECPKG_ATTR_REMOTE_CERT_CONTEXT:
|
case SECPKG_ATTR_REMOTE_CERT_CONTEXT:
|
||||||
{
|
{
|
||||||
unsigned int list_size;
|
unsigned int list_size;
|
||||||
const gnutls_datum_t *datum = pgnutls_certificate_get_peers(
|
const gnutls_datum_t *datum;
|
||||||
ctx->session, &list_size);
|
|
||||||
|
|
||||||
datum = pgnutls_certificate_get_peers(ctx->session, &list_size);
|
datum = pgnutls_certificate_get_peers(ctx->session, &list_size);
|
||||||
if (datum)
|
if (datum)
|
||||||
|
|
Loading…
Reference in New Issue