Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang
eper
eper-0.99.1-23.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File eper-0.99.1-23.patch of Package eper
diff -Ndurp eper-0.99.1/src/prf_crypto.erl eper-0.99.1-23/src/prf_crypto.erl --- eper-0.99.1/src/prf_crypto.erl 2018-07-06 16:31:34.000000000 +0300 +++ eper-0.99.1-23/src/prf_crypto.erl 2020-05-19 14:28:39.806570204 +0300 @@ -13,6 +13,11 @@ hash(Data) -> crypto:md5(Data). block_encrypt(Key,IVec,Text) -> crypto:des_cbc_encrypt(Key,IVec,Text). block_decrypt(Key,IVec,Text) -> crypto:des_cbc_decrypt(Key,IVec,Text). -else. +-ifdef(OTP_RELEASE). +-if(?OTP_RELEASE >= 23). +-compile({nowarn_deprecated_function, [{crypto, block_decrypt, 4}, {crypto, block_encrypt, 4}]}). +-endif. +-endif. hash(Data) -> crypto:hash(md5,Data). block_encrypt(Key,IVec,Text) -> crypto:block_encrypt(des_cbc,Key,IVec,Text). block_decrypt(Key,IVec,Text) -> crypto:block_decrypt(des_cbc,Key,IVec,Text).
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor