summaryrefslogtreecommitdiff
path: root/pceplib/pcep_pcc.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2021-04-08 08:56:32 -0400
committerMark Stapp <mjs@voltanet.io>2021-04-09 08:13:58 -0400
commit2a034138d452d331001f5af1d34db08ee6085d2b (patch)
treee54a0ae94e741859e3cee2b9bad1c21ae314341e /pceplib/pcep_pcc.c
parent964788a11ffa185c89054144a53a2e1a6be69036 (diff)
lib: use platform-neutral value for TCP MD5 signature len
Use a pcep-specific value for MD5SIG_MAXLEN, use the OS value if present. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'pceplib/pcep_pcc.c')
-rw-r--r--pceplib/pcep_pcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pceplib/pcep_pcc.c b/pceplib/pcep_pcc.c
index 1a702a8b63..d263f64f39 100644
--- a/pceplib/pcep_pcc.c
+++ b/pceplib/pcep_pcc.c
@@ -53,7 +53,7 @@ struct cmd_line_args {
char dest_ip_str[MAX_DST_IP_STR];
short src_tcp_port;
short dest_tcp_port;
- char tcp_md5_str[TCP_MD5SIG_MAXKEYLEN]; /* RFC 2385 */
+ char tcp_md5_str[PCEP_MD5SIG_MAXKEYLEN]; /* RFC 2385 */
bool is_ipv6;
bool eventpoll; /* poll for pcep_event's, or use callback (default) */
};