updated-packages
This commit is contained in:
		| @@ -88,6 +88,7 @@ class AesEncryptingStream implements AesStreamInterface | ||||
|     { | ||||
|         if ($length > strlen($this->buffer)) { | ||||
|             $this->buffer .= $this->encryptBlock( | ||||
|                 (int) | ||||
|                 self::BLOCK_SIZE * ceil(($length - strlen($this->buffer)) / self::BLOCK_SIZE) | ||||
|             ); | ||||
|         } | ||||
| @@ -125,7 +126,7 @@ class AesEncryptingStream implements AesStreamInterface | ||||
|  | ||||
|         $plainText = ''; | ||||
|         do { | ||||
|             $plainText .= $this->stream->read($length - strlen($plainText)); | ||||
|             $plainText .= $this->stream->read((int) ($length - strlen($plainText))); | ||||
|         } while (strlen($plainText) < $length && !$this->stream->eof()); | ||||
|  | ||||
|         $options = OPENSSL_RAW_DATA; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 RafficMohammed
					RafficMohammed