mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Bug 118832: with the removal of the crmfi.h inclusion, CRMFEncryptedKey
becomes an incomplete type, and aCC on HP-UX does not allow using static_cast to cast a pointer to an incomplete type to void *. Use implicit conversion of a data pointer to void * instead. r=kaie. sr=dbaron.
This commit is contained in:
parent
8c29d3f5cf
commit
4df4c061fc
@ -880,8 +880,7 @@ nsSetEscrowAuthority(CRMFCertRequest *certReq, nsKeyPairInfo *keyInfo,
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
CRMFPKIArchiveOptions *archOpt =
|
||||
CRMF_CreatePKIArchiveOptions(crmfEncryptedPrivateKey,
|
||||
NS_STATIC_CAST(void*,encrKey));
|
||||
CRMF_CreatePKIArchiveOptions(crmfEncryptedPrivateKey, encrKey);
|
||||
if (!archOpt) {
|
||||
CRMF_DestroyEncryptedKey(encrKey);
|
||||
return NS_ERROR_FAILURE;
|
||||
|
Loading…
Reference in New Issue
Block a user