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:
csoler 2012-08-02 19:40:24 +00:00
parent 5a4d517188
commit f835e83ff9

View File

@ -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)
{
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 ;
}