diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2014-04-11 03:57:13 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2014-04-11 03:57:13 +0000 |
commit | 2ff25b73b3d12108961ca060c86adaf4a77f17d2 (patch) | |
tree | 858eaafd46987eb658f8a8f027cbc851621468fb /math/miracl/files/patch-zzn.h | |
parent | - Convert to USES=tar (diff) |
Fix build with clang34
Notes
Notes:
svn path=/head/; revision=350882
Diffstat (limited to 'math/miracl/files/patch-zzn.h')
-rw-r--r-- | math/miracl/files/patch-zzn.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/math/miracl/files/patch-zzn.h b/math/miracl/files/patch-zzn.h new file mode 100644 index 000000000000..4bf8047dea1c --- /dev/null +++ b/math/miracl/files/patch-zzn.h @@ -0,0 +1,19 @@ +--- ./zzn.h.orig 2014-04-10 22:52:14.562766913 -0500 ++++ ./zzn.h 2014-04-10 22:52:17.524768077 -0500 +@@ -183,7 +183,7 @@ + friend ZZn getB(void); // get B parameter of elliptic curve + + friend ZZn sqrt(const ZZn&); // only works if modulus is prime +- friend ZZn luc( const ZZn&, const Big&, ZZn* b3=NULL); ++ friend ZZn luc( const ZZn&, const Big&, ZZn* b3); + + big getzzn(void) const; + +@@ -206,6 +206,7 @@ + extern ZZn getA(void); + extern ZZn getB(void); + extern ZZn one(void); ++extern ZZn luc( const ZZn&, const Big&, ZZn* b3=NULL); + + #endif + |