summaryrefslogtreecommitdiffstats
path: root/crypto/rsa/rsa_chk.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-07-11 22:06:54 +0000
committerBodo Möller <bodo@openssl.org>1999-07-11 22:06:54 +0000
commit8735ee6f5d1c54d5ab4f8567320a1ecba7775443 (patch)
tree55e1b6d827c941c3db6de08c737895a342442cae /crypto/rsa/rsa_chk.c
parent6519b2cb922cd7f5405112fba87f17f39adc82ee (diff)
typo
Diffstat (limited to 'crypto/rsa/rsa_chk.c')
-rw-r--r--crypto/rsa/rsa_chk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/rsa/rsa_chk.c b/crypto/rsa/rsa_chk.c
index 2462c5e793..c95dab3b1f 100644
--- a/crypto/rsa/rsa_chk.c
+++ b/crypto/rsa/rsa_chk.c
@@ -1,4 +1,4 @@
-/* crypto/rsa/rsa_chck.c -*- Mode: C; c-file-style: "eay" -*- */
+/* crypto/rsa/rsa_chk.c -*- Mode: C; c-file-style: "eay" -*- */
/* ====================================================================
* Copyright (c) 1999 The OpenSSL Project. All rights reserved.
*
@@ -68,6 +68,7 @@ int RSA_check_key(RSA *key)
if (i == NULL || j == NULL || k == NULL || l == NULL ||
m == NULL || ctx == NULL)
{
+ ret = 0;
RSAerr(RSA_F_RSA_CHECK_KEY, ERR_R_MALLOC_FAILURE);
goto err;
}