ftbfs
[oweals/gnunet.git] / src / pq / test_pq.c
index 437f3b4e1b6bcdeffda25ef886a12fb86fbcd2c9..67cf32733429a0bf9dbc496a3486b2facf41e4e8 100644 (file)
@@ -14,6 +14,8 @@
  
   You should have received a copy of the GNU Affero General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+     SPDX-License-Identifier: AGPL3.0-or-later
 */
 /**
  * @file pq/test_pq.c
@@ -189,9 +191,8 @@ run_queries (PGconn *conn)
     GNUNET_break (abs_time.abs_value_us == abs_time2.abs_value_us);
     GNUNET_break (forever.abs_value_us == forever2.abs_value_us);
     GNUNET_break (0 ==
-                 memcmp (&hc,
-                         &hc2,
-                         sizeof (struct GNUNET_HashCode)));
+                 GNUNET_memcmp (&hc,
+                         &hc2));
     GNUNET_break (0 ==
                  GNUNET_CRYPTO_rsa_signature_cmp (sig,
                                                   sig2));