Skip to content

Commit

Permalink
Merge pull request #79 from italia/copyright-fixes
Browse files Browse the repository at this point in the history
Finalise license change - Fixes #16
  • Loading branch information
aantetomaso authored Jul 8, 2024
2 parents d370df8 + 6656ffb commit 25c42c1
Show file tree
Hide file tree
Showing 43 changed files with 106 additions and 374 deletions.
19 changes: 2 additions & 17 deletions TestCIE/TestCIE.cpp
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
// TestCIE.cpp : Questo file contiene la funzione 'main', in cui inizia e termina l'esecuzione del programma.
//
/*
* Copyright (c) 2000-2018 by Ugo Chirico - http://www.ugochirico.com
* All Rights Reserved
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* Copyright (c) 2018 Istituto Poligrafico e Zecca dello Stato
* SPDX-License-Identifier: BSD-3-Clause
*/

#include <iostream>
Expand Down Expand Up @@ -762,7 +748,6 @@ int main(int argc, char* argv[])
{
std::cout << "----------------------------------------------" << std::endl;
std::cout << "- Benvenuti nella Console di test del PKCS#11" << std::endl;
std::cout << "- Copyright (c) 2006-2019 by Ugo Chirico\n- http://www.ugochirico.com\n- All right reserved" << std::endl;
std::cout << "----------------------------------------------" << std::endl;

g_nLogLevel = 5;
Expand Down
17 changes: 1 addition & 16 deletions TestCIE/UUCByteArray.cpp
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
/*
* Copyright (c) 2000-2018 by Ugo Chirico - http://www.ugochirico.com
* All Rights Reserved
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* SPDX-License-Identifier: BSD-3-Clause
*/

#include "UUCByteArray.h"
Expand Down
17 changes: 1 addition & 16 deletions TestCIE/UUCByteArray.h
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
/*
* Copyright (c) 2000-2018 by Ugo Chirico - http://www.ugochirico.com
* All Rights Reserved
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* SPDX-License-Identifier: BSD-3-Clause
*/

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion cie-pkcs11/CSP/AbilitaCIE.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// cie-pkcs11
//
// Created by ugo chirico on 06/10/18. http://www.ugochirico.com
// Copyright © 2018 IPZS. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause
//
#include <string.h>
#include "IAS.h"
Expand Down
2 changes: 1 addition & 1 deletion cie-pkcs11/CSP/AbilitaCIE.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// cie-pkcs11
//
// Created by ugo chirico on 02/09/18. http://www.ugochirico.com
// Copyright © 2018 IPZS. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause
//
#include "../PKCS11/cryptoki.h"
#include <string>
Expand Down
2 changes: 1 addition & 1 deletion cie-pkcs11/CSP/FirmaConCIE.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// FirmaConCIE.cpp
// cie-pkcs11
// Copyright © 2021 IPZS. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause
//

#include "FirmaConCIE.h"
Expand Down
2 changes: 1 addition & 1 deletion cie-pkcs11/CSP/FirmaConCIE.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// FirmaConCIE.hpp
// cie-pkcs11
//
// Copyright © 2021 IPZS. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause
//

#ifndef FirmaConCIE_h
Expand Down
2 changes: 1 addition & 1 deletion cie-pkcs11/CSP/PINManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// cie-pkcs11
//
// Created by ugo chirico on 06/10/18. http://www.ugochirico.com
// Copyright © 2018 IPZS. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause
//

#include "PINManager.h"
Expand Down
2 changes: 1 addition & 1 deletion cie-pkcs11/CSP/PINManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// cie-pkcs11
//
// Created by ugo chirico on 06/10/18. http://www.ugochirico.com
// Copyright © 2018 IPZS. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause
//

#ifndef PINManager_h
Expand Down
2 changes: 1 addition & 1 deletion cie-pkcs11/CSP/VerificaConCIE.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// cie-pkcs11
//
// Created by Pierluigi De Gregorio on 18/02/21.
// Copyright © 2021 IPZS. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause
//

#include "VerificaConCIE.h"
Expand Down
2 changes: 1 addition & 1 deletion cie-pkcs11/CSP/VerificaConCIE.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// VerificaConCIE.h
// cie-pkcs11
//
// Copyright © 2021 IPZS. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause
//

#ifndef VerificaConCIE_h
Expand Down
2 changes: 1 addition & 1 deletion cie-pkcs11/Crypto/CryptoUtil.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// cie-pkcs11
//
// Created by ugo chirico on 07/01/2019.
// Copyright © 2019 IPZS. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause
//

#ifndef CryptoUtil_h
Expand Down
3 changes: 1 addition & 2 deletions cie-pkcs11/Sign/definitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
* utiltypes.h
*
* Fri Nov 17 01:15:58 2006
* Copyright 2006 Ugo Chirico
* Email
* SPDX-License-Identifier: BSD-3-Clause
****************************************************************************/

#ifndef __UTILITYTYPES_H
Expand Down
2 changes: 1 addition & 1 deletion cie-pkcs11/UI/AbilitaCIE.mm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// cie-pkcs11
//
// Created by ugo chirico on 02/09/18.
// Copyright © 2018 IPZS. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause
//

#include <stdio.h>
Expand Down
17 changes: 1 addition & 16 deletions cie-pkcs11/Util/UUCByteArray.cpp
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
/*
* Copyright (c) 2000-2018 by Ugo Chirico - http://www.ugochirico.com
* All Rights Reserved
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* SPDX-License-Identifier: BSD-3-Clause
*/

#include "UUCByteArray.h"
Expand Down
17 changes: 1 addition & 16 deletions cie-pkcs11/Util/UUCByteArray.h
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
/*
* Copyright (c) 2000-2018 by Ugo Chirico - http://www.ugochirico.com
* All Rights Reserved
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* SPDX-License-Identifier: BSD-3-Clause
*/

#pragma once
Expand Down
17 changes: 1 addition & 16 deletions cie-pkcs11/Util/UUCHashtable.hpp
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
/* CHashtable.hpp
*
* Copyright (c) 2000-2018 by Ugo Chirico - http://www.ugochirico.com
* All Rights Reserved
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef _UUHASHTABLE_HPP_
#define _UUHASHTABLE_HPP_
Expand Down
3 changes: 1 addition & 2 deletions cie-pkcs11/Util/UUCProperties.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* UUCProperties.cpp: implementation of the UUCProperties class.
*
* Copyright (c) 2000-2018 by Ugo Chirico - http://www.ugochirico.com
* All Rights Reserved
* Copyright (c) 2018 Istituto Poligrafico e Zecca dello Stato
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
Expand Down
37 changes: 18 additions & 19 deletions cie-pkcs11/Util/UUCProperties.h
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
/* UUCProperties.h: interface for the UUCProperties class.
*
* Copyright (c) 2000-2018 by Ugo Chirico - http://www.ugochirico.com
* All Rights Reserved
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* Copyright (c) 2018 Istituto Poligrafico e Zecca dello Stato
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/

#if !defined(AFX_UUCPROPERTIES_H__715BAE3B_069E_4D31_9FBF_54EA38AAEFEC__INCLUDED_)
Expand All @@ -40,9 +39,9 @@ class UUCProperties
long load(const UUCByteArray& props);
void putProperty(const char* szName, const char* szValue);
//void putProperty(char* szName, char* szValue);
const char* getProperty(const char* szName, const char* szDefaultValue = NULL) const;
const char* getProperty(const char* szName, const char* szDefaultValue = NULL) const;
int getIntProperty(const char* szName, int nDefaultValue = 0) const;


void remove(const char* szName);
void removeAll();

Expand Down
3 changes: 1 addition & 2 deletions cie-pkcs11/Util/UUCStringTable.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* UUCStringTable.cpp: implementation of the UUCStringTable class.
*
* Copyright (c) 2000-2018 by Ugo Chirico - http://www.ugochirico.com
* All Rights Reserved
* Copyright (c) 2018 Istituto Poligrafico e Zecca dello Stato
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
Expand Down
33 changes: 16 additions & 17 deletions cie-pkcs11/Util/UUCStringTable.h
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
/* UUCStringTable.h: interface for the UUCStringTable class.
*
* Copyright (c) 2000-2018 by Ugo Chirico - http://www.ugochirico.com
* All Rights Reserved
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* Copyright (c) 2018 Istituto Poligrafico e Zecca dello Stato
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/

#if !defined(AFX_UUCSTRINGTABLE_H__4392B6C2_89AA_436D_8291_A3D22CFF877B__INCLUDED_)
Expand Down
17 changes: 1 addition & 16 deletions cie-pkcs11/Util/UUCTextFileReader.cpp
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
/* UUCTextFile.cpp: implementation of the UUCTextFile class.
*
* Copyright (c) 2000-2018 by Ugo Chirico - http://www.ugochirico.com
* All Rights Reserved
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* SPDX-License-Identifier: BSD-3-Clause
*/

#include "UUCTextFileReader.h"
Expand Down
19 changes: 2 additions & 17 deletions cie-pkcs11/Util/UUCTextFileReader.h
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
/* UUCTextFile.h: interface for the UUCTextFile class.
* Copyright (c) 2000-2018 by Ugo Chirico - http://www.ugochirico.com
* All Rights Reserved
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
/* UUCTextFile.h: interface for the UUCTextFile class.
* SPDX-License-Identifier: BSD-3-Clause
*/

#if !defined(AFX_UUCTEXTFILE_H__CD3660A5_B4C5_4CD4_99AC_69AC96D1460F__INCLUDED_)
Expand Down
Loading

0 comments on commit 25c42c1

Please sign in to comment.