summaryrefslogtreecommitdiff
path: root/pyeclib/core.py
diff options
context:
space:
mode:
authorTushar Gohad <tushar.gohad@intel.com>2015-02-01 14:44:38 -0700
committerTushar Gohad <tushar.gohad@intel.com>2015-02-01 14:45:24 -0700
commiteeaed85c34809eff697ac0f393adff36d1b186ef (patch)
tree3c6f61ba8c5adeb7298114d3812e621159c1ba94 /pyeclib/core.py
parentb01b3b5c3d84b8e2137b8cab29d3b54375f61483 (diff)
downloadpyeclib-eeaed85c34809eff697ac0f393adff36d1b186ef.tar.gz
Remove algsig integrity checks, make crc32 the default
Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
Diffstat (limited to 'pyeclib/core.py')
-rw-r--r--pyeclib/core.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/pyeclib/core.py b/pyeclib/core.py
index dd9b42b..b50d3e7 100644
--- a/pyeclib/core.py
+++ b/pyeclib/core.py
@@ -54,13 +54,11 @@ class ECPyECLibDriver(object):
# crc32 is the only inline checksum type currently supported
if self.chksum_type is PyECLib_FRAGHDRCHKSUM_Types.inline_crc32:
self.inline_chksum = 1
- elif self.chksum_type is PyECLib_FRAGHDRCHKSUM_Types.algsig:
- self.algsig_chksum = 1
name = self.ec_type.name
if name == "flat_xor_hd":
- hd = 4
+ hd = 4
self.handle = pyeclib_c.init(
self.k,