sourcepawn/jit/md5/md5.cpp
changeset 3995 e94dfd569130
parent 3601 d3a2fb7b3a1e
     1.1 --- a/sourcepawn/jit/md5/md5.cpp	Mon Aug 12 00:42:56 2013 +0100
     1.2 +++ b/sourcepawn/jit/md5/md5.cpp	Mon Aug 12 00:44:22 2013 +0100
     1.3 @@ -171,14 +171,13 @@
     1.4  
     1.5  unsigned char *MD5::raw_digest(){
     1.6  
     1.7 -  uint1 *s = new uint1[16];
     1.8 -
     1.9    if (!finalized){
    1.10  /*    cerr << "MD5::raw_digest:  Can't get digest if you haven't "<<
    1.11        "finalized the digest!" <<endl;*/
    1.12      return ( (unsigned char*) "");
    1.13    }
    1.14  
    1.15 +  uint1 *s = new uint1[16];
    1.16    memcpy(s, digest, 16);
    1.17    return s;
    1.18  }