summaryrefslogtreecommitdiffstats
path: root/crypto/engine/eng_rdrand.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/engine/eng_rdrand.c')
-rw-r--r--crypto/engine/eng_rdrand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/engine/eng_rdrand.c b/crypto/engine/eng_rdrand.c
index 9316d6fe21..48726e2543 100644
--- a/crypto/engine/eng_rdrand.c
+++ b/crypto/engine/eng_rdrand.c
@@ -120,7 +120,7 @@ static int bind_helper(ENGINE *e)
static ENGINE *ENGINE_rdrand(void)
{
ENGINE *ret = ENGINE_new();
- if (!ret)
+ if (ret == NULL)
return NULL;
if (!bind_helper(ret)) {
ENGINE_free(ret);