diff --git a/HsOpenSSL.cabal b/HsOpenSSL.cabal
--- a/HsOpenSSL.cabal
+++ b/HsOpenSSL.cabal
@@ -5,7 +5,7 @@
         can generate RSA and DSA keys, read and write PEM files,
         generate message digests, sign and verify messages, encrypt
         and decrypt messages.
-Version: 0.9
+Version: 0.9.0.1
 License: PublicDomain
 License-File: COPYING
 Author: Adam Langley <agl at imperialviolet dot org>,
diff --git a/NEWS b/NEWS
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,13 @@
 -*- coding: utf-8 -*-
 
+Changes from 0.9 to 0.9.0.1
+---------------------------
+* Applied a patch by Mikhail Vorozhtsov
+
+  - Added missing BangPatterns pragma to OpenSSL/BN.hsc. It was
+    failing to build on GHC 7.1 without this.
+
+
 Changes from 0.8.0.2 to 0.9
 ---------------------------
 * (Suggested by Arthur Chan) Operations in OpenSSL.Session now throw
diff --git a/OpenSSL/BN.hsc b/OpenSSL/BN.hsc
--- a/OpenSSL/BN.hsc
+++ b/OpenSSL/BN.hsc
@@ -1,4 +1,5 @@
 {-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE BangPatterns #-}
 
 #include "HsOpenSSL.h"
 
