diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/enc_md5.c | 2 | ||||
| -rw-r--r-- | src/core/enc_none.c | 2 | ||||
| -rw-r--r-- | src/core/enc_old.c | 2 | ||||
| -rw-r--r-- | src/core/enc_sha1.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/core/enc_md5.c b/src/core/enc_md5.c index 103f4bbe7..d98792618 100644 --- a/src/core/enc_md5.c +++ b/src/core/enc_md5.c @@ -408,7 +408,7 @@ class EMD5 : public Module /* if we are NOT the first module in the list, * we want to re-encrypt the pass with the new encryption */ - if (stricmp(EncModuleList[0], this->name.c_str())) + if (stricmp(EncModuleList.begin()->c_str(), this->name.c_str())) { enc_encrypt(plaintext, strlen(password), password, PASSMAX -1 ); } diff --git a/src/core/enc_none.c b/src/core/enc_none.c index 99b3e17a4..a5e60e1e2 100644 --- a/src/core/enc_none.c +++ b/src/core/enc_none.c @@ -63,7 +63,7 @@ class ENone : public Module /* if we are NOT the first module in the list, * we want to re-encrypt the pass with the new encryption */ - if (stricmp(EncModuleList[0], this->name.c_str())) + if (stricmp(EncModuleList.begin()->c_str(), this->name.c_str())) { enc_encrypt(plaintext, strlen(password), password, PASSMAX -1 ); } diff --git a/src/core/enc_old.c b/src/core/enc_old.c index c3db6c4b3..d8f5dfdd5 100644 --- a/src/core/enc_old.c +++ b/src/core/enc_old.c @@ -409,7 +409,7 @@ class EOld : public Module /* when we are NOT the first module in the list, * we want to re-encrypt the pass with the new encryption */ - if (stricmp(EncModuleList[0], this->name.c_str())) + if (stricmp(EncModuleList.begin()->c_str(), this->name.c_str())) { enc_encrypt(plaintext, strlen(password), password, PASSMAX -1 ); } diff --git a/src/core/enc_sha1.c b/src/core/enc_sha1.c index 9c86875fe..87872241f 100644 --- a/src/core/enc_sha1.c +++ b/src/core/enc_sha1.c @@ -269,7 +269,7 @@ class ESHA1 : public Module /* when we are NOT the first module in the list, * we want to re-encrypt the pass with the new encryption */ - if (stricmp(EncModuleList[0], this->name.c_str())) + if (stricmp(EncModuleList.begin()->c_str(), this->name.c_str())) { enc_encrypt(plaintext, strlen(password), password, PASSMAX -1 ); } |
