hopenssl 1.1 → 1.2
raw patch · 3 files changed
+6/−10 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
- OpenSSL.Digest: MDC2 :: MessageDigest
- OpenSSL.Digest: mdMDC2 :: IO MDEngine
Files
- OpenSSL/Digest.hs +1/−5
- README +3/−3
- hopenssl.cabal +2/−2
OpenSSL/Digest.hs view
@@ -3,7 +3,7 @@ {- | Module : OpenSSL.Digest- Copyright : (c) 2008 by Peter Simons+ Copyright : (c) 2009 by Peter Simons License : BSD3 Maintainer : simons@cryp.to@@ -34,7 +34,6 @@ > SHA1: 5bcaff7f22ff533ca099b3408ead876c0ebba9a7 > DSS: 5bcaff7f22ff533ca099b3408ead876c0ebba9a7 > DSS1: 5bcaff7f22ff533ca099b3408ead876c0ebba9a7- > MDC2: 112db2200ce1e9db3c2d132aea4ef7d0 > RIPEMD160: bdb2bba6ec93bd566dc1181cadbc92176aa78382 -} @@ -59,7 +58,6 @@ | SHA1 -- ^ 160 bit | DSS -- ^ 160 bit (SHA1) | DSS1 -- ^ 160 bit (SHA1)- | MDC2 -- ^ 128 bit | RIPEMD160 -- ^ 160 bit deriving (Show, Eq, Enum, Bounded) @@ -197,7 +195,6 @@ foreign import ccall unsafe "EVP_sha1" mdSHA1 :: IO MDEngine foreign import ccall unsafe "EVP_dss" mdDSS :: IO MDEngine foreign import ccall unsafe "EVP_dss1" mdDSS1 :: IO MDEngine-foreign import ccall unsafe "EVP_mdc2" mdMDC2 :: IO MDEngine foreign import ccall unsafe "EVP_ripemd160" mdRIPEMD160 :: IO MDEngine -- |Map a 'MessageDigest' type into the the corresponding@@ -211,7 +208,6 @@ toMDEngine SHA1 = mdSHA1 toMDEngine DSS = mdDSS toMDEngine DSS1 = mdDSS1-toMDEngine MDC2 = mdMDC2 toMDEngine RIPEMD160 = mdRIPEMD160 -- * Helper Functions
README view
@@ -1,7 +1,7 @@ hOpenSSL ======== -:Latest Release: hopenssl-1.1.tar.gz_+:Latest Release: hopenssl-1.2.tar.gz_ :Darcs: darcs_ get --partial http://cryp.to/hopenssl/ Synopsis@@ -23,7 +23,7 @@ Copyleft -------- - Copyright (c) 2008 Peter Simons <simons@cryp.to>. All rights+ Copyright (c) 2009 Peter Simons <simons@cryp.to>. All rights reserved. This software is released under `BSD-style license <LICENSE>`_. @@ -37,6 +37,6 @@ .. _darcs: http://abridgegame.org/darcs/ -.. _hopenssl-1.1.tar.gz: http://cryp.to/hopenssl/hopenssl-1.1.tar.gz+.. _hopenssl-1.2.tar.gz: http://cryp.to/hopenssl/hopenssl-1.2.tar.gz .. _Reference Documentation: docs/index.html
hopenssl.cabal view
@@ -1,11 +1,11 @@ Name: hopenssl-Version: 1.1+Version: 1.2 Author: Peter Simons <simons@cryp.to> Synopsis: FFI bindings to OpenSSL's EVP digest interface Description: Foreign-function bindings to the OpenSSL library <http://www.openssl.org/>. Currently provides access to the messages digests MD2, MD5, SHA,- SHA1, DSS, DSS1, MDC2, and RIPEMD160 through the+ SHA1, DSS, DSS1, and RIPEMD160 through the EVP digest interface. Category: Cryptography License: BSD3