diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-04-13 01:31:53 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-04-13 01:31:53 +0000 |
| commit | 5f56e52498d2f57775c64cdcdea86e2815bde71a (patch) | |
| tree | 5b756ef2731716a148a7a125a4e9320b748c10c9 /src/LibgcryptARC4Encryptor.h | |
| parent | d13c416a945c996316b314999d73511ea3b1ab8a (diff) | |
2008-04-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Renamed argument from 'errno' to 'err', since errno is confused
with
errno defined in errno.h.
* src/LibgcryptARC4Decryptor.h
* src/LibgcryptARC4Context.h
* src/LibgcryptDHKeyExchange.h
* src/LibgcryptARC4Encryptor.h
Diffstat (limited to 'src/LibgcryptARC4Encryptor.h')
| -rw-r--r-- | src/LibgcryptARC4Encryptor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LibgcryptARC4Encryptor.h b/src/LibgcryptARC4Encryptor.h index 2e0c7a16..63343aa5 100644 --- a/src/LibgcryptARC4Encryptor.h +++ b/src/LibgcryptARC4Encryptor.h @@ -46,10 +46,10 @@ class ARC4Encryptor { private: LibgcryptARC4Context _ctx; - void handleError(gcry_error_t errno) const + void handleError(gcry_error_t err) const { throw new DlAbortEx("Exception in libgcrypt routine(ARC4Encryptor class): %s", - gcry_strerror(errno)); + gcry_strerror(err)); } public: ARC4Encryptor() {} |
