Add STARTTLS to poster.pl
Signed-off-by: Thomas Hochstein <thh@thh.name>
This commit is contained in:
parent
8db4fa83e0
commit
fc71f975af
1 changed files with 1 additions and 0 deletions
|
|
@ -87,6 +87,7 @@ sub connect_nntp($)
|
||||||
# authinfo does not return a value
|
# authinfo does not return a value
|
||||||
$nntp->authinfo($cfg_nntp_user, $cfg_nntp_pass);
|
$nntp->authinfo($cfg_nntp_user, $cfg_nntp_pass);
|
||||||
|
|
||||||
|
$nntp->starttls if $nntp->can_ssl();
|
||||||
return $nntp;
|
return $nntp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue