h2o / picotls

TLS 1.3 implementation in C (master supports RFC8446 as well as draft-26, -27, -28)
535 stars 140 forks source link

cli can not parse argument '-u' #521

Open songshangru opened 5 months ago

songshangru commented 5 months ago

According to cli's '-h' argument, '-u update the traffic key when handshake is complete'. However, the getopt function doesn't parse '-u' properly.

while ((ch = getopt(argc, argv, "46abBC:c:i:Ij:k:nN:es:Sr:p:P:E:K:l:y:vV:h")) != -1) {
    switch (ch) {