This commit is contained in:
Bodo Möller 1999-07-11 22:06:54 +00:00
parent 6519b2cb92
commit 8735ee6f5d

View 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. * 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 || if (i == NULL || j == NULL || k == NULL || l == NULL ||
m == NULL || ctx == NULL) m == NULL || ctx == NULL)
{ {
ret = 0;
RSAerr(RSA_F_RSA_CHECK_KEY, ERR_R_MALLOC_FAILURE); RSAerr(RSA_F_RSA_CHECK_KEY, ERR_R_MALLOC_FAILURE);
goto err; goto err;
} }