From: Bernd Edlinger <bernd.edlinger@hotmail.de>
Date: Tue, 2 Jul 2019 19:33:42 +0000 (+0200)
Subject: Fix a typo and a syntax error in opensslconf.h
X-Git-Tag: openssl-3.0.0-alpha1~1817
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2b43b747d6897405e0fe7492ba11928bf18645db;p=oweals%2Fopenssl.git

Fix a typo and a syntax error in opensslconf.h

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9298)
---

diff --git a/include/openssl/opensslconf.h.in b/include/openssl/opensslconf.h.in
index 6c6b4f3428..b0d339ac9a 100644
--- a/include/openssl/opensslconf.h.in
+++ b/include/openssl/opensslconf.h.in
@@ -85,7 +85,7 @@ extern "C" {
 
 /* In case someone defined both */
 # if defined(OPENSSL_API_COMPAT) && defined(OPENSSL_API_LEVEL)
-#  error "Disallowed to defined both OPENSSL_API_COMPAT and OPENSSL_API_LEVEL"
+#  error "Disallowed to define both OPENSSL_API_COMPAT and OPENSSL_API_LEVEL"
 # endif
 
 # ifndef OPENSSL_API_COMPAT
@@ -100,7 +100,7 @@ extern "C" {
 #  elif (OPENSSL_API_COMPAT & 0xFFF00000L) == 0x10100000L
 #   define OPENSSL_API_LEVEL 2
 #  else
-/ * Major number 3 to 15 */
+    /* Major number 3 to 15 */
 #   define OPENSSL_API_LEVEL ((OPENSSL_API_COMPAT >> 28) & 0xF)
 #  endif
 # endif