Patch1: %{name}-soname.patch
Patch2: optflags.patch
Patch3: x32.patch
+Patch4: format-security.patch
URL: http://www.cs.auckland.ac.nz/~pgut001/cryptlib/
BuildRequires: rpmbuild(macros) >= 1.710
BuildRequires: python-devel >= 1:2.5
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
%build
%{__make} \
--- /dev/null
+--- cryptlib-3.3.3/session/cmp_rdmsg.c~ 2009-07-10 23:39:22.000000000 +0200
++++ cryptlib-3.3.3/session/cmp_rdmsg.c 2015-12-22 23:43:53.932096178 +0100
+@@ -276,7 +276,7 @@
+ "locus %d", errorType, errorLocus ) );
+ }
+ retExt( errorStatus,
+- ( errorStatus, SESSION_ERRINFO,
++ ( errorStatus, SESSION_ERRINFO, "%s",
+ extErrorInfoPtr->errorString ) );
+ }
+ #else