X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/b1ab9ed8d0e0f1c3b66d7daa8fd5564444c56195..e3d3b979fd185d8303f28a937baa53a187fb8c7d:/libsecurity_apple_csp/lib/RSA_DSA_keys.cpp diff --git a/libsecurity_apple_csp/lib/RSA_DSA_keys.cpp b/libsecurity_apple_csp/lib/RSA_DSA_keys.cpp index 7b9deb5f..b73fc470 100644 --- a/libsecurity_apple_csp/lib/RSA_DSA_keys.cpp +++ b/libsecurity_apple_csp/lib/RSA_DSA_keys.cpp @@ -562,7 +562,7 @@ void DSAKeyPairGenContext::generate( if(paramData != NULL) { /* this contains the DER encoding of a NSS_DSAAlgParams */ CSSM_RETURN crtn = DSADecodeAlgParams(algParams, paramData->Data, - paramData->Length, coder); + (unsigned)paramData->Length, coder); if(crtn) { CssmError::throwMe(crtn); } @@ -623,7 +623,7 @@ void DSAKeyPairGenContext::generate( CssmData *seedData = context.get(CSSM_ATTRIBUTE_SEED); if(seedData) { seed = seedData->data(); - seedLen = seedData->length(); + seedLen = (unsigned)seedData->length(); } /* generate the params, temp alloc from SecNssCoder */