Include public module headers when compiling modules.

Also fix the nullness requirements for schnorr nonce-pair generation.
This commit is contained in:
Gregory Maxwell
2015-09-20 19:13:23 +00:00
parent 1f414378b8
commit 4e64608082
5 changed files with 7 additions and 3 deletions

View File

@@ -7,6 +7,7 @@
#ifndef _SECP256K1_MODULE_ECDH_MAIN_
#define _SECP256K1_MODULE_ECDH_MAIN_
#include "include/secp256k1_ecdh.h"
#include "ecmult_const_impl.h"
int secp256k1_ecdh(const secp256k1_context* ctx, unsigned char *result, const secp256k1_pubkey *point, const unsigned char *scalar) {