Free the right thing.
This commit is contained in:
parent
4a18cddd16
commit
e416ad9772
3
CHANGES
3
CHANGES
@ -5,6 +5,9 @@
|
|||||||
|
|
||||||
Changes between 0.9.1c and 0.9.2
|
Changes between 0.9.1c and 0.9.2
|
||||||
|
|
||||||
|
*) X509_name_add_entry() freed the wrong thing after an error.
|
||||||
|
[Arne Ansper <arne@ats.cyber.ee>]
|
||||||
|
|
||||||
*) rsa_eay.c would attempt to free a NULL context.
|
*) rsa_eay.c would attempt to free a NULL context.
|
||||||
[Arne Ansper <arne@ats.cyber.ee>]
|
[Arne Ansper <arne@ats.cyber.ee>]
|
||||||
|
|
||||||
|
@ -251,7 +251,7 @@ int set;
|
|||||||
return(1);
|
return(1);
|
||||||
err:
|
err:
|
||||||
if (new_name != NULL)
|
if (new_name != NULL)
|
||||||
X509_NAME_ENTRY_free(ne);
|
X509_NAME_ENTRY_free(new_name);
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user