crt: Add cut-down crypt32 to windowsapp
Signed-off-by: Mark Harmstone <mark@harmstone.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
diff --git a/mingw-w64-crt/lib-common/crypt32_windowsapp.def b/mingw-w64-crt/lib-common/crypt32_windowsapp.def
new file mode 100644
index 0000000..b65fd5c
--- /dev/null
+++ b/mingw-w64-crt/lib-common/crypt32_windowsapp.def
@@ -0,0 +1,151 @@
+LIBRARY crypt32
+
+EXPORTS
+
+CertAddCertificateContextToStore
+CertAddCertificateLinkToStore
+CertAddCRLContextToStore
+CertAddCRLLinkToStore
+CertAddCTLContextToStore
+CertAddCTLLinkToStore
+CertAddEncodedCertificateToStore
+CertAddEncodedCRLToStore
+CertAddEncodedCTLToStore
+CertAddSerializedElementToStore
+CertAddStoreToCollection
+CertAlgIdToOID
+CertCloseStore
+CertCompareCertificate
+CertCompareCertificateName
+CertCompareIntegerBlob
+CertControlStore
+CertCreateCertificateChainEngine
+CertCreateCertificateContext
+CertCreateContext
+CertCreateCRLContext
+CertCreateCTLContext
+CertCreateSelfSignCertificate
+CertDeleteCertificateFromStore
+CertDeleteCRLFromStore
+CertDeleteCTLFromStore
+CertDuplicateCertificateChain
+CertDuplicateCertificateContext
+CertDuplicateCRLContext
+CertDuplicateCTLContext
+CertDuplicateStore
+CertEnumCertificateContextProperties
+CertEnumCertificatesInStore
+CertEnumCRLContextProperties
+CertEnumCRLsInStore
+CertEnumCTLContextProperties
+CertEnumCTLsInStore
+CertEnumPhysicalStore
+CertEnumSystemStore
+CertEnumSystemStoreLocation
+CertFindAttribute
+CertFindCertificateInCRL
+CertFindCertificateInStore
+CertFindChainInStore
+CertFindCRLInStore
+CertFindCTLInStore
+CertFindExtension
+CertFindRDNAttr
+CertFindSubjectInCTL
+CertFreeCertificateChain
+CertFreeCertificateChainEngine
+CertFreeCertificateChainList
+CertFreeCertificateContext
+CertFreeCRLContext
+CertFreeCTLContext
+CertGetCertificateChain
+CertGetCertificateContextProperty
+CertGetCRLContextProperty
+CertGetCRLFromStore
+CertGetCTLContextProperty
+CertGetEnhancedKeyUsage
+CertGetIntendedKeyUsage
+CertGetIssuerCertificateFromStore
+CertGetNameStringA
+CertGetNameStringW
+CertGetPublicKeyLength
+CertGetStoreProperty
+CertGetSubjectCertificateFromStore
+CertGetValidUsages
+CertIsValidCRLForCertificate
+CertNameToStrA
+CertNameToStrW
+CertOIDToAlgId
+CertOpenStore
+CertRDNValueToStrA
+CertRDNValueToStrW
+CertRegisterSystemStore
+CertRemoveStoreFromCollection
+CertResyncCertificateChainEngine
+CertSaveStore
+CertSelectCertificateChains
+CertSerializeCertificateStoreElement
+CertSerializeCRLStoreElement
+CertSerializeCTLStoreElement
+CertSetCertificateContextProperty
+CertSetCRLContextProperty
+CertSetCTLContextProperty
+CertSetStoreProperty
+CertStrToNameA
+CertStrToNameW
+CertUnregisterSystemStore
+CertVerifyCertificateChainPolicy
+CertVerifySubjectCertificateContext
+CertVerifyTimeValidity
+CryptAcquireCertificatePrivateKey
+CryptBinaryToStringW
+CryptDecodeObject
+CryptDecodeObjectEx
+CryptDecryptMessage
+CryptEncodeObject
+CryptEncodeObjectEx
+CryptEncryptMessage
+CryptEnumOIDFunction
+CryptEnumOIDInfo
+CryptFindCertificateKeyProvInfo
+CryptFindLocalizedName
+CryptFindOIDInfo
+CryptFormatObject
+CryptFreeOIDFunctionAddress
+CryptGetDefaultOIDDllList
+CryptGetDefaultOIDFunctionAddress
+CryptGetMessageCertificates
+CryptGetOIDFunctionAddress
+CryptGetOIDFunctionValue
+CryptHashCertificate2
+CryptHashPublicKeyInfo
+CryptImportPublicKeyInfoEx2
+CryptInitOIDFunctionSet
+CryptInstallOIDFunctionAddress
+CryptMsgCalculateEncodedLength
+CryptMsgClose
+CryptMsgControl
+CryptMsgCountersign
+CryptMsgCountersignEncoded
+CryptMsgDuplicate
+CryptMsgGetAndVerifySigner
+CryptMsgGetParam
+CryptMsgOpenToDecode
+CryptMsgOpenToEncode
+CryptMsgUpdate
+CryptMsgVerifyCountersignatureEncoded
+CryptMsgVerifyCountersignatureEncodedEx
+CryptProtectData
+CryptProtectMemory
+CryptQueryObject
+CryptRetrieveTimeStamp
+CryptSignMessage
+CryptStringToBinaryA
+CryptUnprotectData
+CryptUnprotectMemory
+CryptVerifyDetachedMessageSignature
+CryptVerifyTimeStampSignature
+PFXExportCertStore
+PFXExportCertStoreEx
+PFXImportCertStore
+PFXIsPFXBlob
+PFXVerifyPassword