line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::OSCAR::Callbacks; |
2
|
|
|
|
|
|
|
BEGIN { |
3
|
1
|
|
|
1
|
|
21
|
$Net::OSCAR::Callbacks::VERSION = '1.928'; |
4
|
|
|
|
|
|
|
} |
5
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
27
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
43
|
|
7
|
1
|
|
|
1
|
|
5
|
use vars qw($connection $snac $conntype $family $subtype $data $reqid $reqdata $session $protobit %data); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
441
|
|
8
|
|
|
|
|
|
|
sub { |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
if(defined($connection->{auth})) { |
11
|
|
|
|
|
|
|
$connection->log_print(OSCAR_DBG_SIGNON, "Sending password."); |
12
|
|
|
|
|
|
|
my(%signon_data) = signon_tlv($session, delete($connection->{auth}), $data{key}); |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
$session->svcdo(CONNTYPE_BOS, protobit => "signon", protodata => \%signon_data); |
15
|
|
|
|
|
|
|
} else { |
16
|
|
|
|
|
|
|
$connection->log_print(OSCAR_DBG_SIGNON, "Giving client authentication challenge."); |
17
|
|
|
|
|
|
|
$session->callback_auth_challenge($data{key}, "AOL Instant Messenger (SM)"); |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
}; |