---
** [tickets:#1674] leap: add support for encode & decode of long DN**
**Status:** unassigned
**Milestone:** future
**Created:** Mon Feb 01, 2016 09:27 AM UTC by Gary Lee
**Last Updated:** Mon Feb 01, 2016 09:27 AM UTC
**Owner:** nobody
Currently, ncs_edp_sanamet encodes a string by storing the length in 2 bytes,
followed by a fixed array of SA_MAX_NAME_LENGTH characters. This function,
osaf_decode_sanamet() and osaf_encode_sanamet() need to be enhanced to support
long DNs.
One proposal is:
if length < SA_MAX_NAME_LENGTH, encode as present
if length >= SA_MAX_NAME_LENGTH, encode as a variable string like ncs_edp_string
On the decode side, one can tell from the length (2 bytes) which encoding
scheme is used.
This should allow compatibility with older releases.
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets