- needed for openssl 0.9.7
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 12 Mar 2003 11:12:46 +0000 (11:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    opensc-ssl0.9.7.patch -> 1.1

opensc-ssl0.9.7.patch [new file with mode: 0644]

diff --git a/opensc-ssl0.9.7.patch b/opensc-ssl0.9.7.patch
new file mode 100644 (file)
index 0000000..aa3e266
--- /dev/null
@@ -0,0 +1,24 @@
+--- opensc-0.7.0/src/libopensc/card-gpk.c.orig Thu May  2 13:54:27 2002
++++ opensc-0.7.0/src/libopensc/card-gpk.c      Wed Mar 12 10:31:58 2003
+@@ -735,8 +735,8 @@
+       apdu->le += 3;
+       if (crycks1)
+               memcpy(crycks1, out, 3);
+-      memset(k1, 0, sizeof(k1));
+-      memset(k2, 0, sizeof(k2));
++      memset(&k1, 0, sizeof(k1));
++      memset(&k2, 0, sizeof(k2));
+       memset(in, 0, sizeof(in));
+       memset(out, 0, sizeof(out));
+       memset(block, 0, sizeof(block));
+@@ -878,8 +878,8 @@
+       if (memcmp(r_rn, out+4, 4) != 0)
+               r = SC_ERROR_INVALID_ARGUMENTS;
+-      memset(k1, 0, sizeof(k1));
+-      memset(k2, 0, sizeof(k2));
++      memset(&k1, 0, sizeof(k1));
++      memset(&k2, 0, sizeof(k2));
+       memset(out, 0, sizeof(out));
+       return r;
+ }
This page took 0.038363 seconds and 4 git commands to generate.