Merge pull request #316

2b199de Use the explicit NULL macro for pointer comparisons. (Gregory Maxwell)
This commit is contained in:
Pieter Wuille
2015-09-24 19:36:02 +02:00
6 changed files with 18 additions and 18 deletions

View File

@@ -73,7 +73,7 @@ static int secp256k1_schnorr_sig_sign(const secp256k1_ecmult_gen_context* ctx, u
n = *nonce;
secp256k1_ecmult_gen(ctx, &Rj, &n);
if (pubnonce) {
if (pubnonce != NULL) {
secp256k1_gej_add_ge(&Rj, &Rj, pubnonce);
}
secp256k1_ge_set_gej(&Ra, &Rj);