(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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user