Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

tests/* should be included in the sdist

darcs-hash:20071105062748-62b54-766b46de1c6c00a5b7cb5bd539bed396ca9bb618.gz
  • Loading branch information...
commit ba13f47f69fa3b1895ea1abb57b4a0a5e13f96a2 1 parent 0f5a6a5
PHO authored
4 HsOpenSSL.cabal
@@ -27,6 +27,10 @@ Extra-Source-Files:
27 27 examples/GenRSAKey.hs
28 28 examples/HelloWorld.hs
29 29 examples/PKCS7.hs
  30 + tests/Base64.hs
  31 + tests/Cipher.hs
  32 + tests/DSA.hs
  33 + tests/Makefile
30 34
31 35 flag splitBase
32 36 description: Choose the new smaller, split-up base package.
2  OpenSSL/EVP/Open.hsc
@@ -15,7 +15,7 @@ import qualified Data.ByteString.Char8 as B8
15 15 import qualified Data.ByteString.Lazy.Char8 as L8
16 16 import Foreign
17 17 import Foreign.C
18   -import OpenSSL.EVP.Cipher
  18 +import OpenSSL.EVP.Cipher hiding (cipher)
19 19 import OpenSSL.EVP.PKey
20 20 import OpenSSL.Utils
21 21
11 tests/Makefile
... ... @@ -0,0 +1,11 @@
  1 +TESTS = \
  2 + Base64 \
  3 + Cipher \
  4 + DSA \
  5 + $(NULL)
  6 +
  7 +test:
  8 + for i in $(TESTS); do ghc --make $$i; ./$$i; done
  9 +
  10 +clean:
  11 + rm -f *.hi *.o $(TESTS)

0 comments on commit ba13f47

Please sign in to comment.
Something went wrong with that request. Please try again.