summaryrefslogtreecommitdiffstats
path: root/crypto/evp/evp_pbe.c
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2005-04-05 10:29:43 +0000
committerNils Larsch <nils@openssl.org>2005-04-05 10:29:43 +0000
commit70f34a58411014e76dd03ed6ac0b1bdb95b53b16 (patch)
treef8c42b1de09721ac83f07abd04c44f05a43465d1 /crypto/evp/evp_pbe.c
parentc2e40d0f9a417bb5bb4d7c53ffb7d07229caffb8 (diff)
some const fixes and cleanup
Diffstat (limited to 'crypto/evp/evp_pbe.c')
-rw-r--r--crypto/evp/evp_pbe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/evp/evp_pbe.c b/crypto/evp/evp_pbe.c
index 91e545a141..c6affe2522 100644
--- a/crypto/evp/evp_pbe.c
+++ b/crypto/evp/evp_pbe.c
@@ -106,7 +106,8 @@ int EVP_PBE_CipherInit (ASN1_OBJECT *pbe_obj, const char *pass, int passlen,
static int pbe_cmp(const char * const *a, const char * const *b)
{
- EVP_PBE_CTL **pbe1 = (EVP_PBE_CTL **) a, **pbe2 = (EVP_PBE_CTL **)b;
+ const EVP_PBE_CTL * const *pbe1 = (const EVP_PBE_CTL * const *) a,
+ * const *pbe2 = (const EVP_PBE_CTL * const *)b;
return ((*pbe1)->pbe_nid - (*pbe2)->pbe_nid);
}