projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update test server details.
[oweals/openssl.git]
/
ms
/
uplink.c
diff --git
a/ms/uplink.c
b/ms/uplink.c
index 8e2eaa8ffda15b34f27b6bf9840886b66f14901a..6d59cb1f87c6f442af695bc3b42c664d69da4a66 100644
(file)
--- a/
ms/uplink.c
+++ b/
ms/uplink.c
@@
-40,7
+40,8
@@
void OPENSSL_Uplink (volatile void **table, int index)
* should be sufficient [it prohibits compiler to reorder memory
* access instructions]. */
do {
* should be sufficient [it prohibits compiler to reorder memory
* access instructions]. */
do {
- len = _stprintf (msg,_T("OPENSSL_Uplink(%p,%02X): "),table,index);
+ len = _sntprintf (msg,sizeof(msg)/sizeof(TCHAR),
+ _T("OPENSSL_Uplink(%p,%02X): "),table,index);
_tcscpy (msg+len,_T("unimplemented function"));
if ((h=apphandle)==NULL)
_tcscpy (msg+len,_T("unimplemented function"));
if ((h=apphandle)==NULL)
@@
-71,6
+72,8
@@
void OPENSSL_Uplink (volatile void **table, int index)
}
applinktable = p;
}
}
applinktable = p;
}
+ else
+ p = applinktable;
if (index > (int)p[0])
break;
if (index > (int)p[0])
break;