Skip to content

Commit 8d13772

Browse files
committed
Fix OPENSSL_NO_ENGINE guard placement
1 parent 1252358 commit 8d13772

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/eng_front.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@
2121
#include <openssl/crypto.h>
2222
#include <openssl/objects.h>
2323
#include <openssl/engine.h>
24+
25+
#ifndef OPENSSL_NO_ENGINE
26+
2427
#ifndef ENGINE_CMD_BASE
2528
#error did not get engine.h
2629
#endif
2730

28-
#ifndef OPENSSL_NO_ENGINE
29-
3031
#define PKCS11_ENGINE_ID "pkcs11"
3132
#define PKCS11_ENGINE_NAME "pkcs11 engine"
3233

0 commit comments

Comments
 (0)