Skip to contentSkip to conversation

lib: update the licence of the ASN.1 encoder and decoder

PATCH Superseded James Bottomley 1 participant 1 message Oct 16, 2025

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib: update the licence of the ASN.1 encoder and decoder

The open source project leancrypto (github.com/smuellerDD/leancrypto) has asked to use the ASN.1 encoder/decoder files from the kernel. Since leancrypto is licensed under BSD-3-Clause the fairest thing to do for everyone is add BSD-3-Clause as an OR to the SPDX tag so every project could import them under the same terms.

The copyright holders of both files have agreed to this change.

---
 lib/asn1_decoder.c | 2 +-
 lib/asn1_encoder.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
lib/asn1_decoder.c +1 -1
index 5738ae286b41..1be81a80aed7 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0-or-later
+// SPDX-License-Identifier: GPL-2.0-or-later OR BSD-3-Clause
 /* Decoder for ASN.1 BER/DER/CER encoded bytestream
  *
  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
lib/asn1_encoder.c +1 -1
index 92f35aae13b1..e1285208478d 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0-only
+// SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause
 /*
  * Simple encoder primitives for ASN.1 BER/DER/CER
  *
Signature · 1 line
2.51.0