default: class=M_ERR; break;
}
- vsnprintf(buf,240,msg,ap);
+ vsnprintf(buf,sizeof(buf),msg,ap);
st->log->log(st->log->st,class,"%s: %s",st->tunname,buf);
}
va_end(ap);
uint8_t *nR;
uint8_t *nL;
int32_t pklen;
- uint8_t *pk;
+ char *pk;
int32_t hashlen;
int32_t siglen;
- uint8_t *sig;
+ char *sig;
};
/* Build any of msg1 to msg4. msg5 and msg6 are built from the inside