Allow port 0 in RSA Key List.

(This has been broken since r36875.)

svn path=/trunk/; revision=49111
This commit is contained in:
Jeff Morriss 2013-05-01 14:19:10 +00:00
parent d64f28d617
commit 56552cb0fa
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}