Fx DH_set0_pqg.
Typo. Change-Id: Iab3e04339bb868fd6d247c6696f33f5b7150408d Reviewed-on: https://boringssl-review.googlesource.com/21184 Commit-Queue: David Benjamin <davidben@google.com> Commit-Queue: Martin Kreichgauer <martinkr@google.com> Reviewed-by: Martin Kreichgauer <martinkr@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
This commit is contained in:
parent
12fdd08a40
commit
392cedd0a2
@ -167,7 +167,7 @@ int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) {
|
||||
dh->q = q;
|
||||
}
|
||||
|
||||
if (g == NULL) {
|
||||
if (g != NULL) {
|
||||
BN_free(dh->g);
|
||||
dh->g = g;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user