summaryrefslogtreecommitdiff
path: root/engines/e_padlock.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-10-30 11:22:31 +0000
committerMatt Caswell <matt@openssl.org>2015-11-09 22:48:41 +0000
commit55646005a9ce3c85e394c6afae5f6ed6045494c6 (patch)
treea652c0090a3e7ea0889e56b9e8dbb99db5503665 /engines/e_padlock.c
parent96487cddd408e247819c4f122bd86e53ae4bd6c0 (diff)
downloadopenssl-new-55646005a9ce3c85e394c6afae5f6ed6045494c6.tar.gz
Continue malloc standardisation in engines
Continuing from previous work standardise use of malloc in the engine code. Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Diffstat (limited to 'engines/e_padlock.c')
-rw-r--r--engines/e_padlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/e_padlock.c b/engines/e_padlock.c
index df636b519b..fa323b15ab 100644
--- a/engines/e_padlock.c
+++ b/engines/e_padlock.c
@@ -192,7 +192,7 @@ static ENGINE *ENGINE_padlock(void)
{
ENGINE *eng = ENGINE_new();
- if (!eng) {
+ if (eng == NULL) {
return NULL;
}