Skip to content

Tags: ZewoGraveyard/OpenSSL

Tags

0.14.0

Toggle 0.14.0's commit message
update readme badges

0.13.1

Toggle 0.13.1's commit message
Make Hash.Function digestLength public

0.13.0

Toggle 0.13.0's commit message
support Swift 3

0.0.0

Toggle 0.0.0's commit message
Improvements

0.8.5

Toggle 0.8.5's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Fix for rand() error in Swift 3 (#20)

When playing with a package that was related to this package, I found that Swift 3 gave the following error:

    /Users/mhughes/Projects/Kitura/Packages/OpenSSL-0.8.4/Sources/OpenSSL/Certificate.swift:86:16: error: 'rand()' is unavailable in Swift: Use arc4random instead.
                    let serial = rand()
                                 ^~~~
    Darwin.rand:2:13: note: 'rand()' has been explicitly marked unavailable here
    public func rand() -> Int32
                ^
    <unknown>:0: error: build had 1 command failures

This patch makes that small change.

Also includes support for Linux and Apple platforms, but doesn't support any/all other platforms (Windows, BSD, etc.) at this point.

0.7.5

Toggle 0.7.5's commit message
Fixing rand issue

0.8.4

Toggle 0.8.4's commit message
Merge pull request #19 from pvzig/linux-compilation-patch

Linux compilation patch

0.8.3

Toggle 0.8.3's commit message
add sha256

0.8.2

Toggle 0.8.2's commit message
add message digest

0.8.1

Toggle 0.8.1's commit message
Additional warning fixes (#18)