Revision 5483a1ba src/pool/PoolObjectSQL.cc

View differences:

src/pool/PoolObjectSQL.cc
15 15
/* -------------------------------------------------------------------------- */
16 16

  
17 17
#include "PoolObjectSQL.h"
18
#include "SSLTools.h"
19

  
20
/* -------------------------------------------------------------------------- */
21
/* -------------------------------------------------------------------------- */
22

  
23
string& PoolObjectSQL::to_xml64(string &xml64)
24
{
25
    string *str64;
26
    
27
    to_xml(xml64);
28

  
29
    str64 = SSLTools::base64_encode(xml64);
30
   
31
    xml64 = *str64;
32

  
33
    delete str64;
34

  
35
    return xml64;
36
}
18 37

  
19 38
/* -------------------------------------------------------------------------- */
20 39
/* -------------------------------------------------------------------------- */

Also available in: Unified diff