aboutsummaryrefslogtreecommitdiff
path: root/src/noscrypt.c
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-11-06 21:22:25 -0500
committerLibravatar vnugent <public@vaughnnugent.com>2024-11-06 21:22:25 -0500
commit183130781dafef490fa51a6a89065cc32dfbcbca (patch)
tree0c248ebab0d0256906abba631f610f0681ee8ec8 /src/noscrypt.c
parentc91975e032322e26fde96edb13ef34681daccc4e (diff)
parent5f89f4494267a0dd175682f593bcd5495a3dbbda (diff)
merge developc-sharp
Diffstat (limited to 'src/noscrypt.c')
-rw-r--r--src/noscrypt.c3
1 files changed, 1 insertions, 2 deletions
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 */