Skip to content

Commit

Permalink
Fix a build error on ARM (dotnet/corefx#41937)
Browse files Browse the repository at this point in the history
- Add type casting in CryptoNative_X509VerifyCertErrorString

Commit migrated from dotnet/corefx@f359e8c
  • Loading branch information
clamp03 authored and stephentoub committed Oct 21, 2019
1 parent 9129fd9 commit 0109eb1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -321,7 +321,7 @@ int32_t CryptoNative_X509StoreCtxGetErrorDepth(X509_STORE_CTX* ctx)

const char* CryptoNative_X509VerifyCertErrorString(X509VerifyStatusCode n)
{
return X509_verify_cert_error_string(n);
return X509_verify_cert_error_string((long)n);
}

void CryptoNative_X509CrlDestroy(X509_CRL* a)

0 comments on commit 0109eb1

Please sign in to comment.