Dylan Smith : secur32: Remove redendant call to gnutls_certificate_get_peers.
Module: wine Branch: master Commit: fdcfbe21c38254d75f03741c72b50e2735d7ad54 URL: http://source.winehq.org/git/wine.git/?a=commit;h=fdcfbe21c38254d75f03741c72... Author: Dylan Smith <dylan.ah.smith(a)gmail.com> Date: Mon Sep 28 03:48:32 2009 -0400 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. --- dlls/secur32/schannel.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/dlls/secur32/schannel.c b/dlls/secur32/schannel.c index cd204c1..3912fbd 100644 --- a/dlls/secur32/schannel.c +++ b/dlls/secur32/schannel.c @@ -958,8 +958,7 @@ static SECURITY_STATUS SEC_ENTRY schan_QueryContextAttributesW( case SECPKG_ATTR_REMOTE_CERT_CONTEXT: { unsigned int list_size; - const gnutls_datum_t *datum = pgnutls_certificate_get_peers( - ctx->session, &list_size); + const gnutls_datum_t *datum; datum = pgnutls_certificate_get_peers(ctx->session, &list_size); if (datum)
participants (1)
-
Alexandre Julliard