Changeset 2456


Ignore:
Timestamp:
Feb 18, 2009, 2:23:46 PM (16 years ago)
Author:
mies
Message:

fixed: sha1 issue in identifier

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/utility/types/Identifier.cpp

    r2455 r2456  
    618618Identifier Identifier::sha1(const string& input) {
    619619        Identifier newKey;
    620         uint8_t temp[20];
     620        newKey.clearAddress();
     621        uint8_t temp[40];
     622        for (int i=0; i<40; i++) temp[i] = 0;
    621623        const char* c_str = input.c_str();
    622624
Note: See TracChangeset for help on using the changeset viewer.