File Coverage

blib/lib/Software/License/OpenSSL.pm
Criterion Covered Total %
statement 15 16 93.7
branch n/a
condition 2 3 66.6
subroutine 8 9 88.8
pod 5 5 100.0
total 30 33 90.9


line stmt bran cond sub pod time code
1 10     10   4804 use strict;
  10         17  
  10         215  
2 10     10   34 use warnings;
  10         21  
  10         315  
3             $Software::License::OpenSSL::VERSION = '0.104002';
4             use parent 'Software::License';
5 10     10   39 # ABSTRACT: The OpenSSL License
  10         17  
  10         38  
6              
7             require Software::License::SSLeay;
8              
9              
10 22     22 1 96 my ($self) = @_;
11 0     0 1 0 return $self->{_ssleay} ||= Software::License::SSLeay->new({
12 43     43 1 108 year => $self->year,
13 42     42 1 83 holder => $self->holder,
14 43     43 1 98 });
15             }
16              
17 2     2   1462 1;
18 2   66     17  
19             =pod
20              
21             =encoding UTF-8
22              
23             =head1 NAME
24              
25             Software::License::OpenSSL - The OpenSSL License
26              
27             =head1 VERSION
28              
29             version 0.104002
30              
31             =head1 PERL VERSION
32              
33             This module is part of CPAN toolchain, or is treated as such. As such, it
34             follows the agreement of the Perl Toolchain Gang to require no newer version of
35             perl than v5.8.1. This version may change by agreement of the Toolchain Gang,
36             but for now is governed by the L<Lancaster
37             Consensus|https://github.com/Perl-Toolchain-Gang/toolchain-site/blob/master/lancaster-consensus.md>
38             of 2013.
39              
40             =head1 AUTHOR
41              
42             Ricardo Signes <rjbs@semiotic.systems>
43              
44             =head1 COPYRIGHT AND LICENSE
45              
46             This software is copyright (c) 2022 by Ricardo Signes.
47              
48             This is free software; you can redistribute it and/or modify it under
49             the same terms as the Perl 5 programming language system itself.
50              
51             =cut
52              
53             __LICENSE__
54             LICENSE ISSUES
55             ==============
56              
57             The OpenSSL toolkit stays under a dual license, i.e. both the conditions of
58             the OpenSSL License and the original SSLeay license apply to the toolkit.
59             See below for the actual license texts. Actually both licenses are BSD-style
60             Open Source licenses. In case of any license issues related to OpenSSL
61             please contact openssl-core@openssl.org.
62              
63             OpenSSL License
64             ---------------
65              
66             ====================================================================
67             Copyright (c) 1998-2008 The OpenSSL Project. All rights reserved.
68              
69             Redistribution and use in source and binary forms, with or without
70             modification, are permitted provided that the following conditions
71             are met:
72              
73             1. Redistributions of source code must retain the above copyright
74             notice, this list of conditions and the following disclaimer.
75              
76             2. Redistributions in binary form must reproduce the above copyright
77             notice, this list of conditions and the following disclaimer in
78             the documentation and/or other materials provided with the
79             distribution.
80              
81             3. All advertising materials mentioning features or use of this
82             software must display the following acknowledgment:
83             "This product includes software developed by the OpenSSL Project
84             for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
85              
86             4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
87             endorse or promote products derived from this software without
88             prior written permission. For written permission, please contact
89             openssl-core@openssl.org.
90              
91             5. Products derived from this software may not be called "OpenSSL"
92             nor may "OpenSSL" appear in their names without prior written
93             permission of the OpenSSL Project.
94              
95             6. Redistributions of any form whatsoever must retain the following
96             acknowledgment:
97             "This product includes software developed by the OpenSSL Project
98             for use in the OpenSSL Toolkit (http://www.openssl.org/)"
99              
100             THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
101             EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
102             IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
103             PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
104             ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
105             SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
106             NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
107             LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
108             HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
109             STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
110             ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
111             OF THE POSSIBILITY OF SUCH DAMAGE.
112             ====================================================================
113              
114             This product includes cryptographic software written by Eric Young
115             (eay@cryptsoft.com). This product includes software written by Tim
116             Hudson (tjh@cryptsoft.com).
117              
118             {{$self->_ssleay->name}}
119             -----------------------
120              
121             {{$self->_ssleay->license}}