Skip to content

Commit b54709e

Browse files
committed
base64: update spdx tag
The code is a copy from the nvme-cli project which was licesenced under the GPL-2.0-or-later license. The library is LGPL-2.1-or-later. Hannes agreed to relicense this code. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Daniel Wagner <[email protected]>
1 parent 2be5bce commit b54709e

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

libnvme/src/nvme/base64.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GPL-2.0-or-later
1+
// SPDX-License-Identifier: LGPL-2.1-or-later
22
/*
33
* base64.c - RFC4648-compliant base64 encoding
44
*

libnvme/src/nvme/base64.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
/* SPDX-License-Identifier: GPL-2.0-or-later */
2-
#ifndef _BASE64_H
3-
#define _BASE64_H
1+
// SPDX-License-Identifier: LGPL-2.1-or-later
2+
/*
3+
* This file is part of libnvme.
4+
*/
5+
#pragma once
46

57
int base64_encode(const unsigned char *src, int len, char *dst);
68
int base64_decode(const char *src, int len, unsigned char *dst);
7-
8-
#endif /* _BASE64_H */

0 commit comments

Comments
 (0)