xmlsecurityengine/xmlseccrypto/src/xmlsecc_md.cpp
branchRCL_3
changeset 8 e65204f75c47
parent 0 e35f40988205
child 12 d10d750052f0
equal deleted inserted replaced
4:d2801e68661f 8:e65204f75c47
    49 
    49 
    50 static TInt
    50 static TInt
    51 md_open (sc_md_hd_t *h, int algo, int secure, int hmac)
    51 md_open (sc_md_hd_t *h, int algo, int secure, int hmac)
    52 {
    52 {
    53   TInt err = KErrNone;
    53   TInt err = KErrNone;
    54   int bufsize = secure ? 512 : 1024;
    54   //int bufsize = secure ? 512 : 1024;
    55   sc_md_hd_t hd;
    55   sc_md_hd_t hd;
    56   hd = (sc_md_hd_t)malloc (sizeof (struct sc_md_handle));
    56   hd = (sc_md_hd_t)malloc (sizeof (struct sc_md_handle));
    57   if (! hd)
    57   if (! hd)
    58     err = KErrNoMemory;
    58     err = KErrNoMemory;
    59   if (! err)
    59   if (! err)