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:
David Benjamin 2017-10-05 14:44:56 -04:00 committed by CQ bot account: commit-bot@chromium.org
parent 12fdd08a40
commit 392cedd0a2

View File

@ -167,7 +167,7 @@ int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) {
dh->q = q; dh->q = q;
} }
if (g == NULL) { if (g != NULL) {
BN_free(dh->g); BN_free(dh->g);
dh->g = g; dh->g = g;
} }