typo
authorBodo Möller <bodo@openssl.org>
Sun, 11 Jul 1999 22:06:54 +0000 (22:06 +0000)
committerBodo Möller <bodo@openssl.org>
Sun, 11 Jul 1999 22:06:54 +0000 (22:06 +0000)
crypto/rsa/rsa_chk.c

index 2462c5e7933c602d135851da3c2d9d4d52bd7924..c95dab3b1f968d4c337dd997dfd4d68890cc1267 100644 (file)
@@ -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;
                }