xmlsecurityengine/xmlseccrypto/src/xmlsecc_md.cpp
changeset 15 9b1f1fe06753
parent 0 e35f40988205
child 16 d10d750052f0
equal deleted inserted replaced
3:e724ec518437 15:9b1f1fe06753
    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)