Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
51f81375
Commit
51f81375
authored
Mar 31, 2015
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused functions cert.inc
parent
9e84a307
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
19 deletions
+0
-19
certs.inc
src/etc/inc/certs.inc
+0
-19
No files found.
src/etc/inc/certs.inc
View file @
51f81375
...
...
@@ -528,10 +528,6 @@ function cert_get_serial($str_crt, $decode = true) {
return
NULL
;
}
function
prv_get_modulus
(
$str_crt
,
$decode
=
true
){
return
cert_get_modulus
(
$str_crt
,
$decode
,
"prv"
);
}
function
is_user_cert
(
$certref
)
{
global
$config
;
if
(
!
is_array
(
$config
[
'system'
][
'user'
]))
...
...
@@ -607,21 +603,6 @@ function cert_in_use($certref) {
is_captiveportal_cert
(
$certref
));
}
function
crl_create
(
&
$crl
,
$caref
,
$name
,
$serial
=
0
,
$lifetime
=
9999
)
{
global
$config
;
$ca
=&
lookup_ca
(
$caref
);
if
(
!
$ca
)
return
false
;
$crl
[
'descr'
]
=
$name
;
$crl
[
'caref'
]
=
$caref
;
$crl
[
'serial'
]
=
$serial
;
$crl
[
'lifetime'
]
=
$lifetime
;
$crl
[
'cert'
]
=
array
();
$crl_res
=
crl_update
(
$crl
);
$config
[
'crl'
][]
=
$crl
;
return
$crl_res
;
}
function
crl_update
(
&
$crl
)
{
global
$config
;
$ca
=&
lookup_ca
(
$crl
[
'caref'
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment