Skip to content

Commit

Permalink
Fix script error
Browse files Browse the repository at this point in the history
  • Loading branch information
Taliesin Sisson committed Jul 10, 2017
1 parent 4898419 commit dbd8090
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/certificate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@
if ($providerName -eq 'Microsoft Enhanced RSA and AES Cryptographic Provider'){
$cspParameters.dwProvType = [Contoso.CryptoTriage+ProviderType]::PROV_RSA_AES
} else if ($providerName -eq 'Microsoft RSA SChannel Cryptographic Provider'){
} elseif ($providerName -eq 'Microsoft RSA SChannel Cryptographic Provider'){
$cspParameters.dwProvType = [Contoso.CryptoTriage+ProviderType]::PROV_RSA_SCHANNEL
} else if ($providerName -eq 'Microsoft Strong Cryptographic Provider'){
} elseif ($providerName -eq 'Microsoft Strong Cryptographic Provider'){
$cspParameters.dwProvType = [Contoso.CryptoTriage+ProviderType]::PROV_RSA_FULL
} else if ($providerName -eq 'Microsoft Software Key Storage Provider'){
} elseif ($providerName -eq 'Microsoft Software Key Storage Provider'){
$cspParameters.dwProvType = [Contoso.CryptoTriage+ProviderType]::CNG
$cspParameters.dwKeySpec = 0
$cspParameters.dwKeySpec = [Contoso.CryptoTriage+ProviderKeySpecifier]::CERT_NCRYPT_KEY_SPEC
Expand Down

0 comments on commit dbd8090

Please sign in to comment.