Changeset 52403 in vbox for trunk/src/VBox/Runtime/tools/RTSignTool.cpp
- Timestamp:
- Aug 18, 2014 8:35:32 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/tools/RTSignTool.cpp
r52049 r52403 153 153 void *pvBuf = RTMemAlloc(cbBuf); 154 154 size_t cbRet = 0; 155 rc = RTLdrQueryPropEx(hLdrMod, RTLDRPROP_PKCS7_SIGNED_DATA, pvBuf, cbBuf, &cbRet);155 rc = RTLdrQueryPropEx(hLdrMod, RTLDRPROP_PKCS7_SIGNED_DATA, NULL /*pvBits*/, pvBuf, cbBuf, &cbRet); 156 156 if (rc == VERR_BUFFER_OVERFLOW && cbRet < _4M && cbRet > 0) 157 157 { … … 159 159 cbBuf = cbRet; 160 160 pvBuf = RTMemAlloc(cbBuf); 161 rc = RTLdrQueryPropEx(hLdrMod, RTLDRPROP_PKCS7_SIGNED_DATA, pvBuf, cbBuf, &cbRet);161 rc = RTLdrQueryPropEx(hLdrMod, RTLDRPROP_PKCS7_SIGNED_DATA, NULL /*pvBits*/, pvBuf, cbBuf, &cbRet); 162 162 } 163 163 if (RT_SUCCESS(rc))
Note:
See TracChangeset
for help on using the changeset viewer.