diff options
Diffstat (limited to 'src/lib/libcrypto/evp/evp_pbe.c')
-rw-r--r-- | src/lib/libcrypto/evp/evp_pbe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/evp/evp_pbe.c b/src/lib/libcrypto/evp/evp_pbe.c index 224a422b12..06afb9d152 100644 --- a/src/lib/libcrypto/evp/evp_pbe.c +++ b/src/lib/libcrypto/evp/evp_pbe.c | |||
@@ -69,8 +69,8 @@ static STACK *pbe_algs; | |||
69 | 69 | ||
70 | typedef struct { | 70 | typedef struct { |
71 | int pbe_nid; | 71 | int pbe_nid; |
72 | EVP_CIPHER *cipher; | 72 | const EVP_CIPHER *cipher; |
73 | EVP_MD *md; | 73 | const EVP_MD *md; |
74 | EVP_PBE_KEYGEN *keygen; | 74 | EVP_PBE_KEYGEN *keygen; |
75 | } EVP_PBE_CTL; | 75 | } EVP_PBE_CTL; |
76 | 76 | ||
@@ -112,7 +112,7 @@ static int pbe_cmp(const char * const *a, const char * const *b) | |||
112 | 112 | ||
113 | /* Add a PBE algorithm */ | 113 | /* Add a PBE algorithm */ |
114 | 114 | ||
115 | int EVP_PBE_alg_add (int nid, EVP_CIPHER *cipher, EVP_MD *md, | 115 | int EVP_PBE_alg_add(int nid, const EVP_CIPHER *cipher, const EVP_MD *md, |
116 | EVP_PBE_KEYGEN *keygen) | 116 | EVP_PBE_KEYGEN *keygen) |
117 | { | 117 | { |
118 | EVP_PBE_CTL *pbe_tmp; | 118 | EVP_PBE_CTL *pbe_tmp; |