dlls/rsaenh/tests/rsaenh.c const-ness fix
Gerald Pfeifer
gerald at pfeifer.com
Sat Nov 17 00:36:51 CST 2007
The following change to dlls/rsaenh/tests/rsaenh.c contains a few const
"violations":
revision 1.28
date: 2007-11-16 15:48:08 +0000; author: julliard; state: Exp; lines: +93 -0;
commitid: GG7KMvdi4FiuBOFs;
Vijay Kiran Kamuju <infyquest at gmail.com>
rsaenh: Add a few more tests which check the decryption strings.
Fixed thusly.
Gerald
ChangeLog:
Fix const-ness of parameters to printBytes().
Index: dlls/rsaenh/tests/rsaenh.c
===================================================================
RCS file: /home/wine/wine/dlls/rsaenh/tests/rsaenh.c,v
retrieving revision 1.28
diff -u -3 -p -r1.28 rsaenh.c
--- dlls/rsaenh/tests/rsaenh.c 16 Nov 2007 15:48:08 -0000 1.28
+++ dlls/rsaenh/tests/rsaenh.c 17 Nov 2007 06:35:13 -0000
@@ -54,7 +54,7 @@ static const cryptdata cTestData[4] = {
12,12,16}
};
-static void printBytes(const char *heading, BYTE *pb, size_t cb)
+static void printBytes(const char *heading, const BYTE *pb, size_t cb)
{
size_t i;
printf("%s: ",heading);
More information about the wine-patches
mailing list