forked from osmocom/wireshark
Allow port 0 in RSA Key List. (This has been broken since r36875.) svn path=/trunk/; revision=49111
This commit is contained in:
parent
d64f28d617
commit
56552cb0fa
|
@ -4078,7 +4078,7 @@ ssldecrypt_uat_fld_port_chk_cb(void* r _U_, const char* p, guint len _U_, const
|
|||
|
||||
if (strcmp(p, "start_tls") != 0){
|
||||
const gint i = atoi(p);
|
||||
if (i <= 0 || i > 65535) {
|
||||
if (i < 0 || i > 65535) {
|
||||
*err = ep_strdup_printf("Invalid port given.");
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue