mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 08:42:13 +00:00
Bugzilla Bug 339907: fixed the leak of sha1cx. The patch is contributed by
Ryan Jones <sciguyryan+bugzilla@gmail.com>. r=nelsonb,wtc.
This commit is contained in:
parent
f0269acb0a
commit
c491737eac
@ -37,7 +37,7 @@
|
||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
/* $Id: rsawrapr.c,v 1.10 2006/07/31 18:10:17 wtchang%redhat.com Exp $ */
|
||||
/* $Id: rsawrapr.c,v 1.11 2006/10/23 21:24:38 wtchang%redhat.com Exp $ */
|
||||
|
||||
#include "blapi.h"
|
||||
#include "softoken.h"
|
||||
@ -145,6 +145,7 @@ oaep_xor_with_h1(unsigned char *data, unsigned int datalen,
|
||||
end_octet++;
|
||||
}
|
||||
|
||||
SHA1_DestroyContext (sha1cx, PR_TRUE);
|
||||
return SECSuccess;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user