From c3656cc594daac8167721dde7220f0e59ae146fc Mon Sep 17 00:00:00 2001
From: "Dr. Matthias St. Pierre" <Matthias.St.Pierre@ncp-e.com>
Date: Wed, 11 Sep 2019 10:25:43 +0200
Subject: [PATCH] crypto/threads_none.c: fix syntax error in
 openssl_get_fork_id()

Fixes #9858

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9860)
---
 crypto/threads_none.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CryptoPkg/Library/OpensslLib/openssl/crypto/threads_none.c b/CryptoPkg/Library/OpensslLib/openssl/crypto/threads_none.c
index aabf0e0dc0..aaaaae872a 100644
--- a/CryptoPkg/Library/OpensslLib/openssl/crypto/threads_none.c
+++ b/CryptoPkg/Library/OpensslLib/openssl/crypto/threads_none.c
@@ -143,7 +143,7 @@ int openssl_get_fork_id(void)
 # if defined(OPENSSL_SYS_UNIX)
     return getpid();
 # else
-    return return 0;
+    return 0;
 # endif
 }
 #endif
-- 
2.19.1

