diff --git a/meta/recipes-connectivity/openssl/ocf-linux.inc b/meta/recipes-connectivity/openssl/ocf-linux.inc
index f4ec7c9..15a553a 100644
--- a/meta/recipes-connectivity/openssl/ocf-linux.inc
+++ b/meta/recipes-connectivity/openssl/ocf-linux.inc
@@ -9,6 +9,12 @@ SRC_URI = "http://sourceforge.net/projects/ocf-linux/files/ocf-linux/${PV}/ocf-l
 
 S = "${WORKDIR}/ocf-linux-${PV}"
 
+get_headers() {
+    if [ -f ocf-linux.tar.gz ]; then
+        tar -xf ocf-linux.tar.gz
+    fi
+}
+
 # Need to unpack the the ocf-linux.tar.gz file contained inside the
 # downloaded tarball
 # Install the OCF Linux headers so that other packages such as openssl
@@ -16,7 +22,10 @@ S = "${WORKDIR}/ocf-linux-${PV}"
 # the README file.
 do_install() {
     cd ${S}
-    tar xzf ocf-linux.tar.gz
+    # if ocf-linux.tar.gz exists extract the contents or else go to 
+    #    the next do_install step
+    # Added to maintain compatibility between the 2010 and 2012+ versions
+    get_headers
     install -d ${D}${includedir}/crypto
     install -m 0644 ${S}/ocf/*.h ${D}${includedir}/crypto/
 }
