Permalink
Commits on Aug 28, 2012
  1. Bump version to 0.10.3.3

    committed Aug 28, 2012
  2. Merge pull request #17 from mvv/remove-qsem

    Use MVar instead of QSem in OpenSSL.Session
    committed Aug 28, 2012
Commits on Aug 13, 2012
  1. Use MVar instead of QSem in OpenSSL.Session

    QSem is deprecated and will be removed from `base` in GHC 7.8.
    In fact, it is already removed in the `base` master branch.
    mvv committed Aug 13, 2012
Commits on Jul 21, 2012
  1. Bump version to 0.10.3.2

    committed Jul 21, 2012
  2. Merge pull request #15 from mvv/base-4.6-fix

    Fixed build with base-4.6
    committed Jul 21, 2012
Commits on Jul 6, 2012
  1. Fixed build with base-4.6

    mvv committed Jul 6, 2012
Commits on Apr 24, 2012
  1. Bump version to 0.10.3.1

    committed Apr 24, 2012
  2. Fix bitrotted tests/DSA.hs

    committed Apr 24, 2012
  3. Merge pull request #14 from mvv/x509-store-ctx-0.9-fix

    Fixed X509_STORE_CTX bindings vs OpenSSL 0.9.x
    committed Apr 24, 2012
Commits on Apr 22, 2012
Commits on Apr 16, 2012
  1. Bump version to 0.10.3

    committed Apr 16, 2012
  2. Merge pull request #13 from mvv/verify-cb-fix

    Fixed early verification callback deallocation crash.
    committed Apr 16, 2012
  3. Merge pull request #12 from mvv/x509-store-ctx

    Bindings to some of the X509_STORE_CTX functions.
    committed Apr 16, 2012
  4. Fixed early verification callback deallocation crash.

    Embarrassingly, there is a bug in my verification callback support code
    which leads to RTS crashes:
    1. `SSLContext` is created.
    2. Verification callback is installed and allocated `FunPtr` is written
       to `ctxVfCb` `IORef`.
    3. An `SSL` is created using the `SSLContext`.
    4. The `SSLContext` is GCed and the finalizer calls `freeHaskellFunPtr`.
    5. `connect` is called on the `SSL`.
    6. KABOOM! Freed verification `FunPtr` is called.
    
    The solution is to keep a reference to the `SSLContext` in each `SSL`
    created from it. This prevents verification callback from deallocation,
    until there is no sessions left to call it.
    mvv committed Apr 16, 2012
  5. Bump version to 0.10.2.1

    committed Apr 16, 2012
  6. Merge pull request #10 from mvv/x509-pem-fix

    Fix X509 PEM reading/writing.
    committed Apr 16, 2012
Commits on Apr 9, 2012
  1. Fix X509 PEM reading/writing.

    mvv committed Apr 9, 2012
Commits on Apr 5, 2012
  1. Merge pull request #9 from yav/master

    Added raw pointer read/write operations
    committed Apr 5, 2012
Commits on Mar 8, 2012
  1. Bump version to 0.10.1.4

    committed Mar 8, 2012
Commits on Mar 4, 2012
  1. Bump version to 0.10.1.3

    committed Mar 4, 2012
  2. Merge pull request #6 from bgamari/master

    Various fixes for GHC 7.5
    committed Mar 4, 2012
Commits on Feb 19, 2012
  1. Use unsafeForeignPtrToPtr from Foreign.ForeignPtr.Unsafe

    Export from Foreign.ForeignPtr deprecated as of GHC 7.5
    bgamari committed Feb 19, 2012
  2. Use unsafePerformIO from System.IO.Unsafe

    Foreign.unsafePerformIO is deprecated as of GHC 7.5
    bgamari committed Feb 19, 2012
  3. Add Num to constraints with Bits

    Bits no longer implies Num as of GHC 7.5
    bgamari committed Feb 19, 2012
Commits on Dec 22, 2011
  1. OpenSSL.Session: SSL, SSLContext, SSLResult, ShutdownType and Verific…

    …ationMode are now instances of Typeable.
    committed Dec 22, 2011
Commits on Nov 15, 2011
  1. Bump version to 0.10.1.2

    committed Nov 15, 2011
  2. It causes an undefined behaviour to call SSL_write() with an empty bu…

    …ffer, according to the OpenSSL docs
    committed Nov 15, 2011