Skip to content
Snippets Groups Projects
Commit dc77c349 authored by gosdn-user's avatar gosdn-user
Browse files

wip

parent 7ce46c26
Branches
Tags
1 merge request!39Draft: Tud testing
Pipeline #188154 passed
...@@ -169,7 +169,7 @@ func (eqe *EmulatedQuantumModule) KeyChopper(bulkKey *quantumlayer.QuantumLayerB ...@@ -169,7 +169,7 @@ func (eqe *EmulatedQuantumModule) KeyChopper(bulkKey *quantumlayer.QuantumLayerB
if bulkKey.BulkKeyLength != len(*bulkKey.BulkKey) { if bulkKey.BulkKeyLength != len(*bulkKey.BulkKey) {
if (bulkKey.BulkKeyLength) != (len(*bulkKey.BulkKey)*8){ if (bulkKey.BulkKeyLength) != (len(*bulkKey.BulkKey)*8){
logrus.Errorf("Length missmatch: %d, %d", bulkKey.BulkKeyLength, len(*bulkKey.BulkKey)) logrus.Errorf("Length missmatch, even when converting 'bulkKey.BulkKey' to bytes: %d, %d", bulkKey.BulkKeyLength, len(*bulkKey.BulkKey))
return nil, nil, errors.New("bulkKey length mismatch") return nil, nil, errors.New("bulkKey length mismatch")
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment