From 7ec20facaff2e38b2cdb2f445bda1d5a237e1ea7 Mon Sep 17 00:00:00 2001 From: vnugent Date: Mon, 4 Nov 2024 11:21:47 -0500 Subject: refactor: #9 Light cleanup & prep for release --- src/noscrypt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/noscrypt.c') diff --git a/src/noscrypt.c b/src/noscrypt.c index fededaf..1e19337 100644 --- a/src/noscrypt.c +++ b/src/noscrypt.c @@ -216,7 +216,7 @@ static NCResult _computeSharedSecret( */ result = secp256k1_ecdh( ctx->secpCtx, - (uint8_t*)sharedPoint, + sharedPoint->value, &pubKey, sk->key, &_edhHashFuncInternal, @@ -876,7 +876,6 @@ NC_EXPORT NCResult NC_CC NCEncrypt( result = _encryptNip44Ex(ctx, &conversationKey, args->keyData, args); } - break; /* At the moment nip04 compatability is not supported */ -- cgit