Skip to content

Commit 38199d9

Browse files
committed
ec: fix 25519_pub_ok
1 parent 0ab30a9 commit 38199d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ec/native/curve25519_stubs.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1858,6 +1858,6 @@ CAMLprim value mc_25519_pub_ok(value key)
18581858
CAMLparam1(key);
18591859
int success = 0;
18601860
ge_p3 B;
1861-
success = x25519_ge_frombytes_vartime(&B, Caml_ba_data_val(key));
1861+
success = x25519_ge_frombytes_vartime(&B, Bytes_val(key));
18621862
CAMLreturn(Val_bool(success));
18631863
}

0 commit comments

Comments
 (0)