|
@ -39,6 +39,7 @@ static int prefixVisitChildren(CC *cond, CCVisitor visitor) { |
|
|
|
|
|
|
|
|
static unsigned char *prefixFingerprint(const CC *cond) { |
|
|
static unsigned char *prefixFingerprint(const CC *cond) { |
|
|
PrefixFingerprintContents_t *fp = calloc(1, sizeof(PrefixFingerprintContents_t)); |
|
|
PrefixFingerprintContents_t *fp = calloc(1, sizeof(PrefixFingerprintContents_t)); |
|
|
|
|
|
fprintf(stderr,"prefixfinger %p %p\n",fp,cond->prefix); |
|
|
asnCondition(cond->subcondition, &fp->subcondition); // TODO: check asnCondition for safety
|
|
|
asnCondition(cond->subcondition, &fp->subcondition); // TODO: check asnCondition for safety
|
|
|
fp->maxMessageLength = cond->maxMessageLength; |
|
|
fp->maxMessageLength = cond->maxMessageLength; |
|
|
OCTET_STRING_fromBuf(&fp->prefix, cond->prefix, cond->prefixLength); |
|
|
OCTET_STRING_fromBuf(&fp->prefix, cond->prefix, cond->prefixLength); |
|
|