Skip to content
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

    committed Jul 20, 2012
    Fixed build with base-4.6
Commits on Jul 6, 2012
  1. @mvv

    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

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

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

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

    committed Apr 16, 2012
    Bindings to some of the X509_STORE_CTX functions.
  4. @mvv

    Fixed early verification callback deallocation crash.

    mvv committed Apr 16, 2012
    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.
  5. @mvv
  6. Bump version to 0.10.2.1

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

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

    Fix X509 PEM reading/writing.

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

    committed Apr 5, 2012
    Added raw pointer read/write operations
  2. @yav
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

    committed Mar 4, 2012
    Various fixes for GHC 7.5
Commits on Feb 19, 2012
  1. @bgamari

    Use unsafeForeignPtrToPtr from Foreign.ForeignPtr.Unsafe

    bgamari committed Feb 19, 2012
    Export from Foreign.ForeignPtr deprecated as of GHC 7.5
  2. @bgamari

    Use unsafePerformIO from System.IO.Unsafe

    bgamari committed Feb 19, 2012
    Foreign.unsafePerformIO is deprecated as of GHC 7.5
  3. @bgamari

    Add Num to constraints with Bits

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

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

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

    committed Nov 16, 2011
    …ffer, according to the OpenSSL docs
  3. Improve the error handling in OpenSSL.Session

    committed Nov 15, 2011
      - write/tryWrite should throw EPIPE for cleanly-closed connections
        rather than EOF.
    
      - shutdown/tryShutdown shouldn't throw an exception when a remote
        peer sends us a "close notify" alert and closes the connection
        without waiting for our reply.
    
      - ProtocolError should contain an error message string.
Commits on Nov 12, 2011
  1. Fixed erroneous error handling in OpenSSL.Session

    committed Nov 13, 2011
    SSL_get_error() must be called within the OS thread which caused
    the failed operation as it inspects the thread-local storage.
Commits on Nov 1, 2011
  1. Update NEWS

    committed Nov 1, 2011
Something went wrong with that request. Please try again.