aboutsummaryrefslogtreecommitdiff
path: root/lib/sshconfig
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sshconfig')
-rw-r--r--lib/sshconfig/config_test.go5
-rw-r--r--lib/sshconfig/match_criteria.go5
-rw-r--r--lib/sshconfig/parser_test.go5
-rw-r--r--lib/sshconfig/pattern.go5
-rw-r--r--lib/sshconfig/permitted_cnames.go5
-rw-r--r--lib/sshconfig/section.go5
-rw-r--r--lib/sshconfig/section_match_test.go5
-rw-r--r--lib/sshconfig/section_test.go5
-rw-r--r--lib/sshconfig/testdata/config_get_test.txt3
-rw-r--r--lib/sshconfig/testdata/config_merge_test.txt3
10 files changed, 22 insertions, 24 deletions
diff --git a/lib/sshconfig/config_test.go b/lib/sshconfig/config_test.go
index 1d380ad4..8f2e5896 100644
--- a/lib/sshconfig/config_test.go
+++ b/lib/sshconfig/config_test.go
@@ -1,6 +1,5 @@
-// Copyright 2020, Shulhan <ms@kilabit.info>. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: BSD-3-Clause
+// SPDX-FileCopyrightText: 2020 Shulhan <ms@kilabit.info>
package sshconfig
diff --git a/lib/sshconfig/match_criteria.go b/lib/sshconfig/match_criteria.go
index 4b0d65ad..ddef1775 100644
--- a/lib/sshconfig/match_criteria.go
+++ b/lib/sshconfig/match_criteria.go
@@ -1,6 +1,5 @@
-// Copyright 2020, Shulhan <ms@kilabit.info>. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: BSD-3-Clause
+// SPDX-FileCopyrightText: 2020 Shulhan <ms@kilabit.info>
package sshconfig
diff --git a/lib/sshconfig/parser_test.go b/lib/sshconfig/parser_test.go
index f76bb09a..745c5fbb 100644
--- a/lib/sshconfig/parser_test.go
+++ b/lib/sshconfig/parser_test.go
@@ -1,6 +1,5 @@
-// Copyright 2020, Shulhan <ms@kilabit.info>. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: BSD-3-Clause
+// SPDX-FileCopyrightText: 2020 Shulhan <ms@kilabit.info>
package sshconfig
diff --git a/lib/sshconfig/pattern.go b/lib/sshconfig/pattern.go
index f1dbaf79..429b9c5e 100644
--- a/lib/sshconfig/pattern.go
+++ b/lib/sshconfig/pattern.go
@@ -1,6 +1,5 @@
-// Copyright 2020, Shulhan <ms@kilabit.info>. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: BSD-3-Clause
+// SPDX-FileCopyrightText: 2020 Shulhan <ms@kilabit.info>
package sshconfig
diff --git a/lib/sshconfig/permitted_cnames.go b/lib/sshconfig/permitted_cnames.go
index 181921da..9101eaf7 100644
--- a/lib/sshconfig/permitted_cnames.go
+++ b/lib/sshconfig/permitted_cnames.go
@@ -1,6 +1,5 @@
-// Copyright 2020, Shulhan <ms@kilabit.info>. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: BSD-3-Clause
+// SPDX-FileCopyrightText: 2020 Shulhan <ms@kilabit.info>
package sshconfig
diff --git a/lib/sshconfig/section.go b/lib/sshconfig/section.go
index 9174bc87..fee1759f 100644
--- a/lib/sshconfig/section.go
+++ b/lib/sshconfig/section.go
@@ -1,6 +1,5 @@
-// Copyright 2020, Shulhan <ms@kilabit.info>. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: BSD-3-Clause
+// SPDX-FileCopyrightText: 2020 Shulhan <ms@kilabit.info>
package sshconfig
diff --git a/lib/sshconfig/section_match_test.go b/lib/sshconfig/section_match_test.go
index 2310f66c..72814f30 100644
--- a/lib/sshconfig/section_match_test.go
+++ b/lib/sshconfig/section_match_test.go
@@ -1,6 +1,5 @@
-// Copyright 2020, Shulhan <ms@kilabit.info>. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: BSD-3-Clause
+// SPDX-FileCopyrightText: 2020 Shulhan <ms@kilabit.info>
package sshconfig
diff --git a/lib/sshconfig/section_test.go b/lib/sshconfig/section_test.go
index 97125b8a..39076560 100644
--- a/lib/sshconfig/section_test.go
+++ b/lib/sshconfig/section_test.go
@@ -1,6 +1,5 @@
-// Copyright 2020, Shulhan <ms@kilabit.info>. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: BSD-3-Clause
+// SPDX-FileCopyrightText: 2020 Shulhan <ms@kilabit.info>
package sshconfig
diff --git a/lib/sshconfig/testdata/config_get_test.txt b/lib/sshconfig/testdata/config_get_test.txt
index 7aa28784..581d271c 100644
--- a/lib/sshconfig/testdata/config_get_test.txt
+++ b/lib/sshconfig/testdata/config_get_test.txt
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: BSD-3-Clause
+// SPDX-FileCopyrightText: 2023 M. Shulhan <ms@kilabit.info>
+
Test output for [Section.Get].
<<< empty
diff --git a/lib/sshconfig/testdata/config_merge_test.txt b/lib/sshconfig/testdata/config_merge_test.txt
index ef058e1c..0926faab 100644
--- a/lib/sshconfig/testdata/config_merge_test.txt
+++ b/lib/sshconfig/testdata/config_merge_test.txt
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: BSD-3-Clause
+// SPDX-FileCopyrightText: 2023 M. Shulhan <ms@kilabit.info>
+
Test data for [Config.Merge].
<<< my.example.local