Skip to content

Commit 9dabf23

Browse files
committed
Fix build breakage.
1 parent 41290f9 commit 9dabf23

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

third_party/fiat/curve25519.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -266,21 +266,21 @@ static void fe_tobytes(uint8_t s[32], const fe *f) {
266266

267267
// h = 0
268268
static void fe_0(fe *h) {
269-
OPENSSL_memset(h, 0, sizeof(fe));
269+
memset(h, 0, sizeof(fe));
270270
}
271271

272272
static void fe_loose_0(fe_loose *h) {
273-
OPENSSL_memset(h, 0, sizeof(fe_loose));
273+
memset(h, 0, sizeof(fe_loose));
274274
}
275275

276276
// h = 1
277277
static void fe_1(fe *h) {
278-
OPENSSL_memset(h, 0, sizeof(fe));
278+
memset(h, 0, sizeof(fe));
279279
h->v[0] = 1;
280280
}
281281

282282
static void fe_loose_1(fe_loose *h) {
283-
OPENSSL_memset(h, 0, sizeof(fe_loose));
283+
memset(h, 0, sizeof(fe_loose));
284284
h->v[0] = 1;
285285
}
286286

0 commit comments

Comments
 (0)