Changeset 713a66fc in github


Ignore:
Timestamp:
Jul 11, 2009 1:21:30 PM (4 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
5f571eb
Parents:
0b6e970
Message:
  • prevent from some mcrypt warnings (#1485970)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcmail.php

    rd559cba r713a66fc  
    883883  public function encrypt($clear, $key = 'des_key', $base64 = true) 
    884884  { 
     885    if (!$clear) 
     886      return ''; 
    885887    /*- 
    886888     * Add a single canary byte to the end of the clear text, which 
     
    931933  public function decrypt($cipher, $key = 'des_key', $base64 = true) 
    932934  { 
     935    if (!$cipher) 
     936      return ''; 
     937   
    933938    $cipher = $base64 ? base64_decode($cipher) : $cipher; 
    934939 
Note: See TracChangeset for help on using the changeset viewer.