Ignore:
Timestamp:
Jun 22, 2009, 5:29:18 PM (15 years ago)
Author:
Christoph Mayer
Message:

bei identifier random unspec false setzen

Location:
source/ariba/utility/types
Files:
2 edited

Legend:

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

    r3705 r4437  
    600600Identifier Identifier::random() {
    601601        Identifier newKey = ZERO;
     602        newKey.clearAddress();
    602603
    603604        //as mpn_random has no seeding function
     
    612613
    613614        newKey.trim();
     615        assert(!newKey.isUnspecified());
     616
    614617        return newKey;
    615618}
  • source/ariba/utility/types/Identifier.h

    r3690 r4437  
    4242#include <memory>
    4343#include <string>
     44#include <cassert>
    4445#include <gmp.h>
    4546#include <boost/cstdint.hpp>
Note: See TracChangeset for help on using the changeset viewer.