This is an automated email from the ASF dual-hosted git repository.

kmccusker pushed a commit to branch issue41
in repository https://gitbox.apache.org/repos/asf/incubator-milagro-crypto-c.git

commit 420c1ed640a518a591228a5dfcf8900e3b165e74
Author: Kealan McCusker <[email protected]>
AuthorDate: Fri Aug 23 11:07:48 2019 +0100

    fix bug in Fedora tests. Update README build instructions
---
 README.md                           | 22 ++++++++++++++--------
 VERSION                             |  2 +-
 test/test_output_functions_ZZZ.c.in |  2 +-
 3 files changed, 16 insertions(+), 10 deletions(-)

diff --git a/README.md b/README.md
index 555f3bd..f4080f4 100644
--- a/README.md
+++ b/README.md
@@ -53,19 +53,25 @@ In order to build this library, the following packages are 
required:
 
 The above packages can be installed in different ways, depending on the 
Operating System used:
 
-* **Debian/Ubuntu Linux**
+* **Ubuntu 18.04 Linux**
 
+```
+sudo dpkg --add-architecture i386
+sudo apt-get install -y astyle ca-certificates cmake doxygen doxygen-latex g++ 
\
+     g++-multilib gcc git lcov make mingw-w64 parallel python-pip 
python-setuptools\
+     python3-pip python3-setuptools wine-stable wine64
+sudo pip install cffi autopep8
+sudo pip3 install cffi 
+```
 
-    sudo apt-get install -y git cmake build-essential python python-dev 
python-pip libffi-dev doxygen doxygen-latex parallel
-    sudo pip install cffi
-
+* **Fedora 30 Linux**
 
-* **RedHat/CentOS/Fedora Linux**
+Python is not supported for this operating systems. 
 
 ```
-sudo yum groupinstall "Development Tools" "Development Libraries"
-sudo yum install -y git cmake python libpython-devel python-pip libffi-devel 
doxygen doxygen-latex parallel
-sudo pip install cffi
+sudo dnf config-manager --add-repo 
https://dl.winehq.org/wine-builds/fedora/30/winehq.repo
+sudo dnf install -y @development-tools cmake libffi-devel libasan parallel 
mingw64-gcc \
+     mingw32-gcc lcov winehq-stable libstdc++-*.i686 glibc-*.i686 libgcc.i686
 ```
 
 * **MacOS**
diff --git a/VERSION b/VERSION
index 3eefcb9..7dea76e 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.0.0
+1.0.1
diff --git a/test/test_output_functions_ZZZ.c.in 
b/test/test_output_functions_ZZZ.c.in
index c32bfc0..fae38b0 100644
--- a/test/test_output_functions_ZZZ.c.in
+++ b/test/test_output_functions_ZZZ.c.in
@@ -304,7 +304,7 @@ int read_ECP8_ZZZ(ECP8_ZZZ *ecp8, char* stringx)
 
 void read_OCT(octet *oct, char* string, int len)
 {
-    char buff[len-1];
+    char buff[len];
     strncpy(buff,string,len-1);
     buff[len-1] = '\0';
     OCT_fromHex(oct,buff);

Reply via email to