Module: wine Branch: refs/heads/master Commit: 63efd7f8e62fb6301c736930c5a68186846c3828 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=63efd7f8e62fb6301c736930... Author: Andrew Talbot <Andrew.Talbot(a)talbotville.com> Date: Thu Jun 1 20:54:11 2006 +0100 crypt32: Write-strings warning fix. --- dlls/crypt32/encode.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/dlls/crypt32/encode.c b/dlls/crypt32/encode.c index 3fee0c9..cd8b997 100644 --- a/dlls/crypt32/encode.c +++ b/dlls/crypt32/encode.c @@ -2400,13 +2400,14 @@ static BOOL WINAPI CRYPT_ExportRsaPublic { BOOL ret; HCRYPTKEY key; + static CHAR oid[] = szOID_RSA_RSA; TRACE("(%ld, %ld, %08lx, %s, %08lx, %p, %p, %p)\n", hCryptProv, dwKeySpec, dwCertEncodingType, debugstr_a(pszPublicKeyObjId), dwFlags, pvAuxInfo, pInfo, pcbInfo); if (!pszPublicKeyObjId) - pszPublicKeyObjId = szOID_RSA_RSA; + pszPublicKeyObjId = oid; if ((ret = CryptGetUserKey(hCryptProv, dwKeySpec, &key))) { DWORD keySize = 0;