diff --git a/examples/felica-lite-dump.c b/examples/felica-lite-dump.c index 5d73e04..7826a68 100644 --- a/examples/felica-lite-dump.c +++ b/examples/felica-lite-dump.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2015, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #include #include diff --git a/examples/felica-read-ndef.c b/examples/felica-read-ndef.c index 37bad7d..ec247f1 100644 --- a/examples/felica-read-ndef.c +++ b/examples/felica-read-ndef.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2015, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #if defined(HAVE_CONFIG_H) # include "config.h" #endif diff --git a/examples/mifare-classic-format.c b/examples/mifare-classic-format.c index 54c2a16..39ea818 100644 --- a/examples/mifare-classic-format.c +++ b/examples/mifare-classic-format.c @@ -1,21 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere, Romuald Conty. - * Copyright (C) 2012, Romuald Conty. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #if defined(HAVE_CONFIG_H) # include "config.h" #endif diff --git a/examples/mifare-classic-read-ndef.c b/examples/mifare-classic-read-ndef.c index fa13cb6..69b8dce 100644 --- a/examples/mifare-classic-read-ndef.c +++ b/examples/mifare-classic-read-ndef.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2011, Romain Tartiere, Romuald Conty. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - /* * This implementation was written based on information provided by the * following documents: diff --git a/examples/mifare-classic-write-ndef.c b/examples/mifare-classic-write-ndef.c index 4a79933..a32b952 100644 --- a/examples/mifare-classic-write-ndef.c +++ b/examples/mifare-classic-write-ndef.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere, Romuald Conty. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #if defined(HAVE_CONFIG_H) # include "config.h" #endif diff --git a/examples/mifare-desfire-access.c b/examples/mifare-desfire-access.c index 61c8e64..91323f0 100644 --- a/examples/mifare-desfire-access.c +++ b/examples/mifare-desfire-access.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #include #include #include diff --git a/examples/mifare-desfire-create-ndef.c b/examples/mifare-desfire-create-ndef.c index 26d8659..6c5ff50 100644 --- a/examples/mifare-desfire-create-ndef.c +++ b/examples/mifare-desfire-create-ndef.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Audrey Diacre. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #if defined(HAVE_CONFIG_H) # include "config.h" #endif diff --git a/examples/mifare-desfire-ev1-configure-ats.c b/examples/mifare-desfire-ev1-configure-ats.c index 59e00a0..b52b75e 100644 --- a/examples/mifare-desfire-ev1-configure-ats.c +++ b/examples/mifare-desfire-ev1-configure-ats.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #if defined(HAVE_CONFIG_H) # include "config.h" #endif diff --git a/examples/mifare-desfire-ev1-configure-default-key.c b/examples/mifare-desfire-ev1-configure-default-key.c index 336c57c..bd3cd17 100644 --- a/examples/mifare-desfire-ev1-configure-default-key.c +++ b/examples/mifare-desfire-ev1-configure-default-key.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #if defined(HAVE_CONFIG_H) # include "config.h" #endif diff --git a/examples/mifare-desfire-ev1-configure-random-uid.c b/examples/mifare-desfire-ev1-configure-random-uid.c index 07c8788..8d89556 100644 --- a/examples/mifare-desfire-ev1-configure-random-uid.c +++ b/examples/mifare-desfire-ev1-configure-random-uid.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #if defined(HAVE_CONFIG_H) # include "config.h" #endif diff --git a/examples/mifare-desfire-format.c b/examples/mifare-desfire-format.c index e3dff27..36aae3c 100644 --- a/examples/mifare-desfire-format.c +++ b/examples/mifare-desfire-format.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #if defined(HAVE_CONFIG_H) # include "config.h" #endif diff --git a/examples/mifare-desfire-info.c b/examples/mifare-desfire-info.c index 96d54a7..f2da497 100644 --- a/examples/mifare-desfire-info.c +++ b/examples/mifare-desfire-info.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #include #include #include diff --git a/examples/mifare-desfire-read-ndef.c b/examples/mifare-desfire-read-ndef.c index e5edf93..08ab413 100644 --- a/examples/mifare-desfire-read-ndef.c +++ b/examples/mifare-desfire-read-ndef.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Audrey Diacre. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #if defined(HAVE_CONFIG_H) # include "config.h" #endif diff --git a/examples/mifare-desfire-write-ndef.c b/examples/mifare-desfire-write-ndef.c index 8649657..e0c96a2 100644 --- a/examples/mifare-desfire-write-ndef.c +++ b/examples/mifare-desfire-write-ndef.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Audrey Diacre. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #if defined(HAVE_CONFIG_H) # include "config.h" #endif diff --git a/examples/mifare-ultralight-info.c b/examples/mifare-ultralight-info.c index d0e390f..18f6a00 100644 --- a/examples/mifare-ultralight-info.c +++ b/examples/mifare-ultralight-info.c @@ -1,19 +1,3 @@ -/*- - * Copyright (C) 2012, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ #include #include diff --git a/examples/ntag-detect.c b/examples/ntag-detect.c index 5c575b9..f08de04 100644 --- a/examples/ntag-detect.c +++ b/examples/ntag-detect.c @@ -1,19 +1,3 @@ -/*- - * Copyright (C) 2012, 2017 Romain Tartiere, Martin Dagarin (SloCompTech). - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ #include #include diff --git a/examples/ntag-removeauth.c b/examples/ntag-removeauth.c index 54b0fc2..ada47a1 100644 --- a/examples/ntag-removeauth.c +++ b/examples/ntag-removeauth.c @@ -1,19 +1,3 @@ -/*- - * Copyright (C) 2012, 2017 Romain Tartiere, Martin Dagarin (SloCompTech). - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ #include #include diff --git a/examples/ntag-setauth.c b/examples/ntag-setauth.c index 2a8e289..dc5ee71 100644 --- a/examples/ntag-setauth.c +++ b/examples/ntag-setauth.c @@ -1,19 +1,3 @@ -/*- - * Copyright (C) 2012, 2017 Romain Tartiere, Martin Dagarin (SloCompTech). - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ #include #include diff --git a/examples/ntag-write.c b/examples/ntag-write.c index 14660fe..49bceeb 100644 --- a/examples/ntag-write.c +++ b/examples/ntag-write.c @@ -1,19 +1,3 @@ -/*- - * Copyright (C) 2012, 2017 Romain Tartiere, Martin Dagarin (SloCompTech). - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ #include #include diff --git a/libfreefare/felica.c b/libfreefare/felica.c index 469ed73..d9e4de2 100644 --- a/libfreefare/felica.c +++ b/libfreefare/felica.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2015, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - /* * This implementation was written based on information provided by the * following documents: diff --git a/libfreefare/freefare.c b/libfreefare/freefare.c index ffabcf7..09b475f 100644 --- a/libfreefare/freefare.c +++ b/libfreefare/freefare.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere, Romuald Conty. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #if defined(HAVE_CONFIG_H) # include "config.h" #endif diff --git a/libfreefare/freefare.h b/libfreefare/freefare.h index a061c3b..4dc402a 100644 --- a/libfreefare/freefare.h +++ b/libfreefare/freefare.h @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2009, 2010, Romain Tartiere, Romuald Conty. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #ifndef __FREEFARE_H__ #define __FREEFARE_H__ diff --git a/libfreefare/freefare_internal.h b/libfreefare/freefare_internal.h index 250ce5a..a4ee1e1 100644 --- a/libfreefare/freefare_internal.h +++ b/libfreefare/freefare_internal.h @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere, Romuald Conty. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #ifndef __FREEFARE_INTERNAL_H__ #define __FREEFARE_INTERNAL_H__ diff --git a/libfreefare/mad.c b/libfreefare/mad.c index d3283f4..3205a3d 100644 --- a/libfreefare/mad.c +++ b/libfreefare/mad.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2009, 2010, Romain Tartiere, Romuald Conty. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - /* * This implementation was written based on information provided by the * following document: diff --git a/libfreefare/mifare_application.c b/libfreefare/mifare_application.c index dd51d5e..afce8e2 100644 --- a/libfreefare/mifare_application.c +++ b/libfreefare/mifare_application.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2009, Romain Tartiere, Romuald Conty. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - /* * This implementation was written based on information provided by the * following document: diff --git a/libfreefare/mifare_classic.c b/libfreefare/mifare_classic.c index d593797..2842b11 100644 --- a/libfreefare/mifare_classic.c +++ b/libfreefare/mifare_classic.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2009, 2010, Romain Tartiere, Romuald Conty. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - /* * This implementation was written based on information provided by the * following documents: diff --git a/libfreefare/mifare_desfire.c b/libfreefare/mifare_desfire.c index a34eca1..4dad0bc 100644 --- a/libfreefare/mifare_desfire.c +++ b/libfreefare/mifare_desfire.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere, Romuald Conty. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - /* * This implementation was written based on information provided by the * following documents: diff --git a/libfreefare/mifare_desfire_aid.c b/libfreefare/mifare_desfire_aid.c index 864ebac..a237e77 100644 --- a/libfreefare/mifare_desfire_aid.c +++ b/libfreefare/mifare_desfire_aid.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - /* * This implementation was written based on information provided by the * following document: diff --git a/libfreefare/mifare_desfire_crypto.c b/libfreefare/mifare_desfire_crypto.c index abfecbd..9429fad 100644 --- a/libfreefare/mifare_desfire_crypto.c +++ b/libfreefare/mifare_desfire_crypto.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - /* * This implementation was written based on information provided by the * following documents: diff --git a/libfreefare/mifare_desfire_error.c b/libfreefare/mifare_desfire_error.c index 1264d78..ca972e4 100644 --- a/libfreefare/mifare_desfire_error.c +++ b/libfreefare/mifare_desfire_error.c @@ -1,21 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere, Romuald Conty. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - - #include #include diff --git a/libfreefare/mifare_desfire_key.c b/libfreefare/mifare_desfire_key.c index 706faa1..00e542c 100644 --- a/libfreefare/mifare_desfire_key.c +++ b/libfreefare/mifare_desfire_key.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #include #include diff --git a/libfreefare/mifare_ultralight.c b/libfreefare/mifare_ultralight.c index 1b3a108..12e1fb0 100644 --- a/libfreefare/mifare_ultralight.c +++ b/libfreefare/mifare_ultralight.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - /* * This implementation was written based on information provided by the * following documents: diff --git a/libfreefare/ntag21x.c b/libfreefare/ntag21x.c index 7b79625..ece1fcf 100644 --- a/libfreefare/ntag21x.c +++ b/libfreefare/ntag21x.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2017, Martin Dagarin. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - /* * This implementation was written based on information provided by the * following documents: @@ -31,7 +14,9 @@ * June 2015 */ -#include "config.h" +#if defined(HAVE_CONFIG_H) +# include "config.h" +#endif #if defined(HAVE_SYS_TYPES_H) # include diff --git a/libfreefare/tlv.c b/libfreefare/tlv.c index 9e7c5ae..1e9d602 100644 --- a/libfreefare/tlv.c +++ b/libfreefare/tlv.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere, Romuald Conty. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - /* * This implementation was written based on information provided by the * following documents: diff --git a/test/Makefile.am b/test/Makefile.am index 096a4d5..797d192 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -37,7 +37,7 @@ AM_LDFLAGS = -module -rpath $(libdir) -avoid-version -no-undefined test_felica_la_SOURCES = test_felica.c \ felica_fixture.c \ - felica_fixture.h + fixture.h test_felica_la_LIBADD = $(top_builddir)/libfreefare/libfreefare.la test_freefare_la_SOURCES = test_freefare.c @@ -52,7 +52,7 @@ test_mifare_application_la_LIBADD = $(top_builddir)/libfreefare/libfreefare.la test_mifare_classic_la_SOURCES = test_mifare_classic.c \ test_mifare_classic_mad.c \ mifare_classic_fixture.c \ - mifare_classic_fixture.h + fixture.h test_mifare_classic_la_LIBADD = $(top_builddir)/libfreefare/libfreefare.la test_mifare_classic_create_trailer_block_la_SOURCES = test_mifare_classic_create_trailer_block.c @@ -63,7 +63,7 @@ test_mifare_classic_sector_boundaries_la_LIBADD = $(top_builddir)/libfreefare/li test_mifare_desfire_la_SOURCES = test_mifare_desfire.c \ mifare_desfire_fixture.c \ - mifare_desfire_fixture.h + fixture.h test_mifare_desfire_la_LIBADD = $(top_builddir)/libfreefare/libfreefare.la \ $(top_builddir)/test/common/libtestcommon.la @@ -82,7 +82,7 @@ test_mifare_desfire_ev1_la_SOURCES = test_mifare_desfire_ev1.c \ test_mifare_desfire_ev1_aes.c \ test_mifare_desfire_ev1_iso.c \ mifare_desfire_ev1_fixture.c \ - mifare_desfire_ev1_fixture.h + fixture.h test_mifare_desfire_ev1_la_LIBADD = $(top_builddir)/libfreefare/libfreefare.la \ $(top_builddir)/test/common/libtestcommon.la @@ -91,7 +91,7 @@ test_mifare_desfire_key_la_LIBADD = $(top_builddir)/libfreefare/libfreefare.la test_mifare_ultralight_la_SOURCES = test_mifare_ultralight.c \ mifare_ultralight_fixture.c \ - mifare_ultralight_fixture.h + fixture.h test_mifare_ultralight_la_LIBADD = $(top_builddir)/libfreefare/libfreefare.la test_tlv_la_SOURCES = test_tlv.c diff --git a/test/common/mifare_desfire_auto_authenticate.c b/test/common/mifare_desfire_auto_authenticate.c index 3526498..294f40d 100644 --- a/test/common/mifare_desfire_auto_authenticate.c +++ b/test/common/mifare_desfire_auto_authenticate.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #include #include diff --git a/test/common/mifare_desfire_auto_authenticate.h b/test/common/mifare_desfire_auto_authenticate.h index c104599..e4da5d4 100644 --- a/test/common/mifare_desfire_auto_authenticate.h +++ b/test/common/mifare_desfire_auto_authenticate.h @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #ifndef _MIFARE_DESFIRE_AUTO_AUTHENTICATE_H #define _MIFARE_DESFIRE_AUTO_AUTHENTICATE_H diff --git a/test/felica_fixture.c b/test/felica_fixture.c index f346c61..0daef9e 100644 --- a/test/felica_fixture.c +++ b/test/felica_fixture.c @@ -1,24 +1,7 @@ -/*- - * Copyright (C) 2015, Romain Tartiere - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #include #include -#include "felica_fixture.h" +#include "fixture.h" static nfc_context *context; static nfc_device *device = NULL; diff --git a/test/felica_fixture.h b/test/felica_fixture.h deleted file mode 100644 index 51ec778..0000000 --- a/test/felica_fixture.h +++ /dev/null @@ -1,18 +0,0 @@ -/*- - * Copyright (C) 2015, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - -extern FreefareTag tag; diff --git a/test/fixture.h b/test/fixture.h new file mode 100644 index 0000000..31d7922 --- /dev/null +++ b/test/fixture.h @@ -0,0 +1,6 @@ +#ifndef _FIXTURE_H +#define _FIXTURE_H + +extern FreefareTag tag; + +#endif /* _FIXTURE_H */ diff --git a/test/mifare_classic_fixture.c b/test/mifare_classic_fixture.c index 81b098c..2c3ddbb 100644 --- a/test/mifare_classic_fixture.c +++ b/test/mifare_classic_fixture.c @@ -1,25 +1,7 @@ -/*- - * Copyright (C) 2010, Romain Tartiere - * Copyright (C) 2013, Romuald Conty - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #include #include -#include "mifare_classic_fixture.h" +#include "fixture.h" static nfc_context *context; static nfc_device *device = NULL; diff --git a/test/mifare_classic_fixture.h b/test/mifare_classic_fixture.h deleted file mode 100644 index f2b9004..0000000 --- a/test/mifare_classic_fixture.h +++ /dev/null @@ -1,18 +0,0 @@ -/*- - * Copyright (C) 2010, Romain Tartiere, Romuald Conty. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - -extern FreefareTag tag; diff --git a/test/mifare_desfire_ev1_fixture.c b/test/mifare_desfire_ev1_fixture.c index 4cf812f..beabdc3 100644 --- a/test/mifare_desfire_ev1_fixture.c +++ b/test/mifare_desfire_ev1_fixture.c @@ -1,25 +1,7 @@ -/*- - * Copyright (C) 2010, Romain Tartiere - * Copyright (C) 2013, Romuald Conty - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #include #include -#include "mifare_desfire_ev1_fixture.h" +#include "fixture.h" static nfc_context *context; static nfc_device *device = NULL; diff --git a/test/mifare_desfire_ev1_fixture.h b/test/mifare_desfire_ev1_fixture.h deleted file mode 100644 index 8bc7aac..0000000 --- a/test/mifare_desfire_ev1_fixture.h +++ /dev/null @@ -1,18 +0,0 @@ -/*- - * Copyright (C) 2010, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - -extern FreefareTag tag; diff --git a/test/mifare_desfire_fixture.c b/test/mifare_desfire_fixture.c index 255f119..ac6e39f 100644 --- a/test/mifare_desfire_fixture.c +++ b/test/mifare_desfire_fixture.c @@ -1,25 +1,7 @@ -/*- - * Copyright (C) 2010, Romain Tartiere - * Copyright (C) 2013, Romuald Conty - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #include #include -#include "mifare_desfire_fixture.h" +#include "fixture.h" static nfc_context *context; static nfc_device *device = NULL; diff --git a/test/mifare_desfire_fixture.h b/test/mifare_desfire_fixture.h deleted file mode 100644 index 8bc7aac..0000000 --- a/test/mifare_desfire_fixture.h +++ /dev/null @@ -1,18 +0,0 @@ -/*- - * Copyright (C) 2010, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - -extern FreefareTag tag; diff --git a/test/mifare_ultralight_fixture.c b/test/mifare_ultralight_fixture.c index df4b346..3560f25 100644 --- a/test/mifare_ultralight_fixture.c +++ b/test/mifare_ultralight_fixture.c @@ -1,25 +1,7 @@ -/*- - * Copyright (C) 2010, Romain Tartiere - * Copyright (C) 2013, Romuald Conty - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #include #include -#include "mifare_ultralight_fixture.h" +#include "fixture.h" static nfc_context *context; static nfc_device *device = NULL; diff --git a/test/mifare_ultralight_fixture.h b/test/mifare_ultralight_fixture.h deleted file mode 100644 index 8bc7aac..0000000 --- a/test/mifare_ultralight_fixture.h +++ /dev/null @@ -1,18 +0,0 @@ -/*- - * Copyright (C) 2010, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - -extern FreefareTag tag; diff --git a/test/test_felica.c b/test/test_felica.c index 9055691..129f422 100644 --- a/test/test_felica.c +++ b/test/test_felica.c @@ -2,7 +2,7 @@ #include -#include "felica_fixture.h" +#include "fixture.h" void test_felica_read_without_encryption(void) diff --git a/test/test_mad.c b/test/test_mad.c index 2418abb..8959c17 100644 --- a/test/test_mad.c +++ b/test/test_mad.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2009, 2010, Romain Tartiere, Romuald Conty. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #include #include diff --git a/test/test_mifare_application.c b/test/test_mifare_application.c index 519d486..105a33a 100644 --- a/test/test_mifare_application.c +++ b/test/test_mifare_application.c @@ -1,19 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere, Romuald Conty. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ #include #include diff --git a/test/test_mifare_classic.c b/test/test_mifare_classic.c index 1ff0d28..06a0c30 100644 --- a/test/test_mifare_classic.c +++ b/test/test_mifare_classic.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere, Romuald Conty. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #include #include #include @@ -22,7 +5,7 @@ #include #include "freefare_internal.h" -#include "mifare_classic_fixture.h" +#include "fixture.h" void test_mifare_classic_authenticate(void) diff --git a/test/test_mifare_classic_create_trailer_block.c b/test/test_mifare_classic_create_trailer_block.c index 709b74c..d824e81 100644 --- a/test/test_mifare_classic_create_trailer_block.c +++ b/test/test_mifare_classic_create_trailer_block.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere, Romuald Conty. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #include #include diff --git a/test/test_mifare_classic_mad.c b/test/test_mifare_classic_mad.c index daa178d..94fd1cc 100644 --- a/test/test_mifare_classic_mad.c +++ b/test/test_mifare_classic_mad.c @@ -1,25 +1,8 @@ -/*- - * Copyright (C) 2010, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #include #include -#include "mifare_classic_fixture.h" +#include "fixture.h" void test_mifare_classic_mad(void) diff --git a/test/test_mifare_classic_sector_boundaries.c b/test/test_mifare_classic_sector_boundaries.c index 858afd5..e3bf74f 100644 --- a/test/test_mifare_classic_sector_boundaries.c +++ b/test/test_mifare_classic_sector_boundaries.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere, Romuald Conty. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #include #include diff --git a/test/test_mifare_desfire.c b/test/test_mifare_desfire.c index c28e20e..6c50793 100644 --- a/test/test_mifare_desfire.c +++ b/test/test_mifare_desfire.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #include #include #include @@ -23,7 +6,7 @@ #include #include "freefare_internal.h" -#include "mifare_desfire_fixture.h" +#include "fixture.h" #include "common/mifare_desfire_auto_authenticate.h" #define cut_assert_success(last_command) \ diff --git a/test/test_mifare_desfire_aes.c b/test/test_mifare_desfire_aes.c index e965a43..c299a50 100644 --- a/test/test_mifare_desfire_aes.c +++ b/test/test_mifare_desfire_aes.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere, Romuald Conty. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - /* * These tests implement examples provided in the following documents: * diff --git a/test/test_mifare_desfire_aid.c b/test/test_mifare_desfire_aid.c index a571e4a..8d5cc2b 100644 --- a/test/test_mifare_desfire_aid.c +++ b/test/test_mifare_desfire_aid.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere, Romuald Conty. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #include #include diff --git a/test/test_mifare_desfire_des.c b/test/test_mifare_desfire_des.c index 1bb2f20..b0fabb8 100644 --- a/test/test_mifare_desfire_des.c +++ b/test/test_mifare_desfire_des.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #include #include #include "freefare_internal.h" diff --git a/test/test_mifare_desfire_ev1.c b/test/test_mifare_desfire_ev1.c index 3fe33a5..2ed7bb1 100644 --- a/test/test_mifare_desfire_ev1.c +++ b/test/test_mifare_desfire_ev1.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #include #include #include @@ -23,7 +6,7 @@ #include #include "freefare_internal.h" -#include "mifare_desfire_ev1_fixture.h" +#include "fixture.h" #include "common/mifare_desfire_auto_authenticate.h" #define cut_assert_success(last_command) \ diff --git a/test/test_mifare_desfire_ev1_3des.c b/test/test_mifare_desfire_ev1_3des.c index 7a445e3..49f776b 100644 --- a/test/test_mifare_desfire_ev1_3des.c +++ b/test/test_mifare_desfire_ev1_3des.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #include #include #include @@ -23,7 +6,7 @@ #include #include "freefare_internal.h" -#include "mifare_desfire_ev1_fixture.h" +#include "fixture.h" #include "common/mifare_desfire_auto_authenticate.h" #define cut_assert_success(last_command) \ diff --git a/test/test_mifare_desfire_ev1_3k3des.c b/test/test_mifare_desfire_ev1_3k3des.c index 270c7f9..048d0e0 100644 --- a/test/test_mifare_desfire_ev1_3k3des.c +++ b/test/test_mifare_desfire_ev1_3k3des.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #include #include #include @@ -23,7 +6,7 @@ #include #include "freefare_internal.h" -#include "mifare_desfire_ev1_fixture.h" +#include "fixture.h" #include "common/mifare_desfire_auto_authenticate.h" #define cut_assert_success(last_command) \ diff --git a/test/test_mifare_desfire_ev1_aes.c b/test/test_mifare_desfire_ev1_aes.c index 8080e68..55b7b30 100644 --- a/test/test_mifare_desfire_ev1_aes.c +++ b/test/test_mifare_desfire_ev1_aes.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #include #include #include @@ -23,7 +6,7 @@ #include #include "freefare_internal.h" -#include "mifare_desfire_ev1_fixture.h" +#include "fixture.h" #include "common/mifare_desfire_auto_authenticate.h" #define cut_assert_success(last_command) \ diff --git a/test/test_mifare_desfire_ev1_iso.c b/test/test_mifare_desfire_ev1_iso.c index c6979bb..9a4993c 100644 --- a/test/test_mifare_desfire_ev1_iso.c +++ b/test/test_mifare_desfire_ev1_iso.c @@ -1,26 +1,9 @@ -/*- - * Copyright (C) 2011, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #include #include #include "freefare_internal.h" -#include "mifare_desfire_ev1_fixture.h" +#include "fixture.h" #include "common/mifare_desfire_auto_authenticate.h" #define cut_assert_success(last_command) \ diff --git a/test/test_mifare_desfire_key.c b/test/test_mifare_desfire_key.c index b0047c1..5c428e4 100644 --- a/test/test_mifare_desfire_key.c +++ b/test/test_mifare_desfire_key.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #include #include diff --git a/test/test_mifare_ultralight.c b/test/test_mifare_ultralight.c index bb81bb4..fdea38b 100644 --- a/test/test_mifare_ultralight.c +++ b/test/test_mifare_ultralight.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #include #include #include @@ -22,7 +5,7 @@ #include #include "freefare_internal.h" -#include "mifare_ultralight_fixture.h" +#include "fixture.h" void test_mifare_ultralight_write(void) diff --git a/test/test_tlv.c b/test/test_tlv.c index 6a37f93..7080894 100644 --- a/test/test_tlv.c +++ b/test/test_tlv.c @@ -1,20 +1,3 @@ -/*- - * Copyright (C) 2010, Romain Tartiere, Romuald Conty. - * - * 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 3 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 Lesser General Public License - * along with this program. If not, see - */ - #include #include