Skip to content
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.

Commit

Permalink
don't skip const if not using gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
prusnak committed Apr 2, 2017
1 parent a8aacac commit 3d04064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ed25519-donna/ed25519.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ void ed25519_sign(const unsigned char *m, size_t mlen, const ed25519_secret_key
void curve25519_scalarmult(curve25519_key mypublic, const curve25519_key secret, const curve25519_key basepoint);
void curve25519_scalarmult_basepoint(curve25519_key mypublic, const curve25519_key secret);

#if __GNUC__ > 4
#if !defined(__GNUC__) || __GNUC__ > 4
#define CONST const
#else
#define CONST
Expand Down

0 comments on commit 3d04064

Please sign in to comment.