mirror of
https://github.com/openssl/openssl.git
synced 2025-04-12 20:30:52 +08:00
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)
This commit is contained in:
parent
7e47db5b56
commit
2b43b747d6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user