(d2i_RSAPrivateKey): Return NULL on failure

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18857 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-10-24 12:52:38 +00:00
parent da56224c8e
commit 25622c7c44

View File

@@ -332,7 +332,7 @@ d2i_RSAPrivateKey(RSA *rsa, const unsigned char **pp, size_t len)
ret = decode_RSAPrivateKey(*pp, len, &data, &size);
if (ret)
return 0;
return NULL;
*pp += size;