Fixed a few things: -PB
authorpbowen <pbowen>
Sat, 19 Mar 2005 00:12:24 +0000 (00:12 +0000)
committerpbowen <pbowen>
Sat, 19 Mar 2005 00:12:24 +0000 (00:12 +0000)
commit9fa8e28db3d4964192a6e0dddb62c7f88cc0eb9f
tree35d202d3689ce73864d17d90bd8b0f8048f3489d
parenta638ae8bdba35169f61f2729d8f3491496992b55
Fixed a few things: -PB
1. Fixed a nasty bug that would clear the payinfo if the private key was not available.
2. Set the default module for encrypt/decrypt to be Crypt::OpenSSL::RSA.
3. Added a die and error message so that it doesn't just pass around plaintext if the encryption engine is broken or missing.
4. Added code so that the masked payinfo is handled correctly in the case that it is blank and it cannot be generated (encrypted payinfo)
FS/FS/Record.pm
FS/FS/cust_main.pm