diff --git a/common/crypto/auth.go b/common/crypto/auth.go
index 88de851e..0bc8e71d 100644
--- a/common/crypto/auth.go
+++ b/common/crypto/auth.go
@@ -178,7 +178,7 @@ func (r *AuthenticationReader) readInternal(soft bool, mb *buf.MultiBuffer) erro
 	if size <= buf.Size {
 		b, err := r.readBuffer(int32(size), int32(padding))
 		if err != nil {
-			return nil
+			return err
 		}
 		*mb = append(*mb, b)
 		return nil