rspro_util: DER encoder returns size in bytes, no need to divide by 8

Change-Id: I559afe17981a77024b6d14058f89c5f103767939
This commit is contained in:
Harald Welte 2018-08-17 22:04:01 +02:00
parent 137c4402d9
commit d5c5c0b790
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ struct msgb *rspro_enc_msg(RsproPDU_t *pdu)
if (rval.encoded < 0) {
return NULL;
}
msgb_put(msg, rval.encoded/8);
msgb_put(msg, rval.encoded);
ASN_STRUCT_FREE(asn_DEF_RsproPDU, pdu);