#endif
strlen(dconf->passphrase),
(unsigned char *) salt, salt ? sizeof(apr_uuid_t) : 0,
- dconf->cipher, MODE_CBC, 1, 4096, key, ivSize);
+ dconf->cipher, APR_MODE_CBC, 1, 4096, key, ivSize);
}
if (APR_STATUS_IS_ENOKEY(res)) {
(session_crypto_dir_conf *) apr_pcalloc(p, sizeof(session_crypto_dir_conf));
/* default cipher AES256-SHA */
- new->cipher = KEY_AES_256;
+ new->cipher = APR_KEY_AES_256;
return (void *) new;
}
}
else if (!strcasecmp(word, "cipher")) {
if (!strcasecmp(val, "3des192")) {
- dconf->cipher = KEY_3DES_192;
+ dconf->cipher = APR_KEY_3DES_192;
dconf->cipher_set = 1;
}
else if (!strcasecmp(val, "aes256")) {
- dconf->cipher = KEY_AES_256;
+ dconf->cipher = APR_KEY_AES_256;
dconf->cipher_set = 1;
}
else {