Avoid some memory holes, one of which was pointed out by
"Chad C. Mulligan" <mulligan@antipope.org>.
This commit is contained in:
@@ -326,6 +326,7 @@ err:
|
||||
if (ok == -1) DSAerr(DSA_F_DSA_IS_PRIME,ERR_R_BN_LIB);
|
||||
BN_CTX_free(ctx);
|
||||
BN_CTX_free(ctx2);
|
||||
BN_MONT_CTX_free(mont);
|
||||
|
||||
return(ok);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user