use RSA_free to free key
fixes cppcheck warning: Size of pointer used instead of size of its data
This commit is contained in:
parent
07c0aec7d8
commit
e502e75d0e
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ void nodumps()
|
||||||
|
|
||||||
void byebye(int sig)
|
void byebye(int sig)
|
||||||
{
|
{
|
||||||
memset(rsa, 0, sizeof rsa);
|
RSA_free(rsa);
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue