Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Commit e92f745

Browse files
authored
Fix
1 parent d9b9be6 commit e92f745

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/prostore/install/GenerateCert.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public final class GenerateCert {
122122
throw CertGenError.keyGenerationFailed("EVP_PKEY_keygen_init failed")
123123
}
124124

125-
if EVP_PKEY_CTX_set_rsa_keygen_bits(ctx, Int(bits)) <= 0 {
125+
if EVP_PKEY_CTX_set_rsa_keygen_bits(ctx, bits) <= 0 {
126126
throw CertGenError.keyGenerationFailed("EVP_PKEY_CTX_set_rsa_keygen_bits failed")
127127
}
128128

0 commit comments

Comments
 (0)