summaryrefslogtreecommitdiff
path: root/src/LibgcryptARC4Decryptor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/LibgcryptARC4Decryptor.h')
-rw-r--r--src/LibgcryptARC4Decryptor.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/LibgcryptARC4Decryptor.h b/src/LibgcryptARC4Decryptor.h
index 230e0926..87ffca8d 100644
--- a/src/LibgcryptARC4Decryptor.h
+++ b/src/LibgcryptARC4Decryptor.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* In addition, as a special exception, the copyright holders give
* permission to link the code of portions of this program with the
@@ -53,7 +53,7 @@ private:
{
throw DL_ABORT_EX
(StringFormat("Exception in libgcrypt routine(ARC4Decryptor class): %s",
- gcry_strerror(err)).str());
+ gcry_strerror(err)).str());
}
public:
ARC4Decryptor() {}
@@ -66,10 +66,10 @@ public:
}
void decrypt(unsigned char* out, size_t outLength,
- const unsigned char* in, size_t inLength)
+ const unsigned char* in, size_t inLength)
{
gcry_error_t r = gcry_cipher_decrypt(_ctx.getCipherContext(),
- out, outLength, in, inLength);
+ out, outLength, in, inLength);
if(r) {
handleError(r);
}