diff --git a/examples/felica-lite-dump.c b/examples/felica-lite-dump.c
index 5d73e046..7826a68b 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 37bad7d0..ec247f16 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 54c2a161..39ea818c 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 fa13cb6e..69b8dce7 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 4a79933f..a32b9520 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 61c8e646..91323f07 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 26d8659b..6c5ff506 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 59e00a09..b52b75e0 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 336c57cd..bd3cd170 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 07c8788c..8d895569 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 e3dff274..36aae3c2 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 96d54a7a..f2da497f 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 e5edf939..08ab4138 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 86496574..e0c96a20 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 d0e390fa..18f6a00b 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 5c575b9b..f08de049 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 54b0fc21..ada47a1e 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 2a8e2898..dc5ee717 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 14660fe0..49bceeb5 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 469ed73d..d9e4de2e 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 ffabcf7e..09b475fa 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 a061c3b7..4dc402a9 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 250ce5a0..a4ee1e1d 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 d3283f4d..3205a3d7 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 dd51d5e9..afce8e25 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 d5937974..2842b113 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 a34eca1d..4dad0bce 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 864ebac4..a237e77b 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 abfecbd1..9429fade 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 1264d785..ca972e41 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 706faa18..00e542c9 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 1b3a1086..12e1fb0a 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 7b796255..ece1fcfb 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 9e7c5ae3..1e9d6022 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 096a4d5b..797d1921 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 3526498e..294f40db 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 c1045993..e4da5d4a 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 f346c61b..0daef9ed 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 51ec778f..00000000
--- 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 00000000..31d79225
--- /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 81b098c6..2c3ddbbd 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 f2b9004b..00000000
--- 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 4cf812fc..beabdc3c 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 8bc7aac9..00000000
--- 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 255f1193..ac6e39f7 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 8bc7aac9..00000000
--- 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 df4b3468..3560f25a 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 8bc7aac9..00000000
--- 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 90556914..129f4222 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 2418abb8..8959c177 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 519d4860..105a33ae 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 1ff0d284..06a0c309 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 709b74c1..d824e81a 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 daa178d0..94fd1cce 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 858afd5e..e3bf74f4 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 c28e20e0..6c507935 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 e965a431..c299a503 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 a571e4af..8d5cc2b4 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 1bb2f207..b0fabb83 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 3fe33a5b..2ed7bb19 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 7a445e39..49f776b5 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 270c7f95..048d0e0b 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 8080e681..55b7b306 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 c6979bb9..9a4993ca 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 b0047c10..5c428e4a 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 bb81bb41..fdea38bc 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 6a37f93c..7080894c 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