mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed up memory leak
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5374 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
5a4d517188
commit
f835e83ff9
@ -396,6 +396,8 @@ ops_boolean_t ops_dsa_verify(const unsigned char *hash,size_t hash_length,
|
|||||||
if(BN_num_bits(dsa->q) != 160)
|
if(BN_num_bits(dsa->q) != 160)
|
||||||
{
|
{
|
||||||
fprintf(stderr,"(WW) ops_dsa_verify: openssl does only supports 'q' of 160 bits. Current is %d bits.\n",BN_num_bits(dsa->q)) ;
|
fprintf(stderr,"(WW) ops_dsa_verify: openssl does only supports 'q' of 160 bits. Current is %d bits.\n",BN_num_bits(dsa->q)) ;
|
||||||
|
osig->r=osig->s=NULL;
|
||||||
|
DSA_SIG_free(osig);
|
||||||
return ops_false ;
|
return ops_false ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user