Changeset 1202 in Sophya for trunk/SophyaLib/BaseTools/ppersist.h


Ignore:
Timestamp:
Sep 27, 2000, 5:56:51 PM (25 years ago)
Author:
ansari
Message:

bug swap md5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/BaseTools/ppersist.h

    r895 r1202  
    8888    static uint_8                getDataObjClassId(AnyDataObj const & o);
    8989
    90     static uint_8 Hash(string const& typname) {
    91         md5_init(&ctx);
    92         md5_write(&ctx, (unsigned char*) typname.c_str(), typname.size());
    93         md5_final(&ctx);
    94         return ( *((uint_8*) ctx.buf) + *((uint_8*) (ctx.buf+8)));
    95     }
     90    static uint_8 Hash(string const& typname);
    9691    static MD5_CONTEXT ctx;
    9792 
Note: See TracChangeset for help on using the changeset viewer.