diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-05-15 18:35:13 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-05-15 18:35:13 +0000 |
commit | 6d3a1eac3bce00445db2b195ee9a721ba547aecd (patch) | |
tree | e670e5a5569ae75f23a5335f201185ca07a65dd1 /crypto/evp/e_rc2.c | |
parent | b8f702a0affa2087758230967b55df504a176774 (diff) | |
download | openssl-6d3a1eac3bce00445db2b195ee9a721ba547aecd.zip openssl-6d3a1eac3bce00445db2b195ee9a721ba547aecd.tar.gz openssl-6d3a1eac3bce00445db2b195ee9a721ba547aecd.tar.bz2 |
Add PRF preference ctrl to ciphers.
Diffstat (limited to 'crypto/evp/e_rc2.c')
-rw-r--r-- | crypto/evp/e_rc2.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/evp/e_rc2.c b/crypto/evp/e_rc2.c index d37726f..4fd8c41 100644 --- a/crypto/evp/e_rc2.c +++ b/crypto/evp/e_rc2.c @@ -223,6 +223,11 @@ static int rc2_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr) return 1; } return 0; +#if PBE_PRF_TEST + case EVP_CTRL_PBE_PRF_NID: + *(int *)ptr = NID_hmacWithMD5; + return 1; +#endif default: return -1; |