From: Gilles Khouzam <Gilles.Khouzam@microsoft.com>
Date: Sat, 2 May 2015 02:20:42 +0000 (-0400)
Subject: RT3820: Don't call GetDesktopWindow()
X-Git-Tag: OpenSSL_1_1_0-pre1~1218
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bed2edf1cb73f1fe2c11029acc694086bc14443e;p=oweals%2Fopenssl.git

RT3820: Don't call GetDesktopWindow()

Signed-off-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
---

diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c
index ce07b848d2..be4cdb0b20 100644
--- a/crypto/cryptlib.c
+++ b/crypto/cryptlib.c
@@ -288,8 +288,6 @@ int OPENSSL_isservice(void)
     if (_OPENSSL_isservice.p != (void *)-1)
         return (*_OPENSSL_isservice.f) ();
 
-    (void)GetDesktopWindow();   /* return value is ignored */
-
     h = GetProcessWindowStation();
     if (h == NULL)
         return -1;