Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 327b90a

Browse files
committed
Use static modifier instead of underscore prefix
1 parent abaeaa8 commit 327b90a

File tree

1 file changed

+6
-4
lines changed
  • src/Native/System.Security.Cryptography.Native

1 file changed

+6
-4
lines changed

src/Native/System.Security.Cryptography.Native/openssl.c

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,18 @@
2626

2727
/*
2828
Function:
29-
_MakeTimeT
29+
MakeTimeT
3030
3131
Used to convert the constituent elements of a struct tm into a time_t. As time_t does not have
32-
a guaranteed blitting size, this should never be p/invoked. It is here merely as a utility.
32+
a guaranteed blitting size, this function is static and cannot be p/invoked. It is here merely
33+
as a utility.
3334
3435
Return values:
3536
A time_t representation of the input date. See also man mktime(3).
3637
*/
38+
static
3739
time_t
38-
_MakeTimeT(
40+
MakeTimeT(
3941
int year,
4042
int month,
4143
int day,
@@ -734,7 +736,7 @@ SetX509ChainVerifyTime(
734736
return 0;
735737
}
736738

737-
time_t verifyTime = _MakeTimeT(year, month, day, hour, minute, second, isDst);
739+
time_t verifyTime = MakeTimeT(year, month, day, hour, minute, second, isDst);
738740

739741
if (verifyTime == (time_t)-1)
740742
{

0 commit comments

Comments
 (0)