Enable and fix many extra warnings supported by GCC and Clang.
[tinc] / src / gcrypt / rsa.h
index c27f196..e6bb5ec 100644 (file)
@@ -3,7 +3,7 @@
 
 /*
     rsa.h -- RSA key handling
-    Copyright (C) 2007 Guus Sliepen <guus@tinc-vpn.org>
+    Copyright (C) 2007-2022 Guus Sliepen <guus@tinc-vpn.org>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -22,6 +22,7 @@
 
 #include <gcrypt.h>
 
+#define TINC_RSA_INTERNAL
 typedef struct rsa {
        gcry_mpi_t n;
        gcry_mpi_t e;