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

    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. @mvv

    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. @mvv
  6. Bump version to 0.10.2.1

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

    Fix X509 PEM reading/writing.
    committed Apr 16, 2012
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

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

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

    Use unsafeForeignPtrToPtr from Foreign.ForeignPtr.Unsafe

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

    Use unsafePerformIO from System.IO.Unsafe

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

    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 16, 2011
  2. It causes an undefined behaviour to call SSL_write() with an empty bu…

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

      - 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.
    committed Nov 15, 2011
Commits on Nov 12, 2011
  1. Fixed erroneous error handling in OpenSSL.Session

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

    committed Nov 1, 2011
  2. Merge pull request #4 from mvv/evp-refactoring

    EVP refactoring
    committed Nov 1, 2011
Commits on Oct 28, 2011
  1. @mvv
Commits on Sep 22, 2011
  1. Bump version to 0.10.1.1

    committed Sep 22, 2011
Commits on Sep 18, 2011
  1. update NEWS

    committed Sep 19, 2011