From 6c63867178c45f28a30b3c59f0bfadc5456a61b1 Mon Sep 17 00:00:00 2001
From: Gilles Khouzam <Gilles.Khouzam@microsoft.com>
Date: Fri, 1 May 2015 22:20:42 -0400
Subject: [PATCH] RT3820: Don't call GetDesktopWindow()

Signed-off-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit bed2edf1cb73f1fe2c11029acc694086bc14443e)
---
 crypto/cryptlib.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c
index f0a1c31627..4c91dbe11c 100644
--- a/crypto/cryptlib.c
+++ b/crypto/cryptlib.c
@@ -776,8 +776,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;
-- 
2.25.1