diff options
Diffstat (limited to 'src/cadet/cadet_api_helper.c')
-rw-r--r-- | src/cadet/cadet_api_helper.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/cadet/cadet_api_helper.c b/src/cadet/cadet_api_helper.c index 6f7634068..78e5eb45c 100644 --- a/src/cadet/cadet_api_helper.c +++ b/src/cadet/cadet_api_helper.c | |||
@@ -11,12 +11,12 @@ | |||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Affero General Public License for more details. | 13 | Affero General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Affero General Public License | 15 | You should have received a copy of the GNU Affero General Public License |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
18 | SPDX-License-Identifier: AGPL3.0-or-later | 18 | SPDX-License-Identifier: AGPL3.0-or-later |
19 | */ | 19 | */ |
20 | /** | 20 | /** |
21 | * @file cadet/cadet_api_helper.c | 21 | * @file cadet/cadet_api_helper.c |
22 | * @brief cadet api: client implementation of cadet service | 22 | * @brief cadet api: client implementation of cadet service |
@@ -41,15 +41,15 @@ | |||
41 | * @return A GNUNET_HashCode usable for the new CADET API. | 41 | * @return A GNUNET_HashCode usable for the new CADET API. |
42 | */ | 42 | */ |
43 | const struct GNUNET_HashCode * | 43 | const struct GNUNET_HashCode * |
44 | GC_u2h (uint32_t port) | 44 | GC_u2h(uint32_t port) |
45 | { | 45 | { |
46 | static struct GNUNET_HashCode hash; | 46 | static struct GNUNET_HashCode hash; |
47 | 47 | ||
48 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 48 | GNUNET_log(GNUNET_ERROR_TYPE_WARNING, |
49 | "This is a transitional function, use proper crypto hashes as CADET ports\n"); | 49 | "This is a transitional function, use proper crypto hashes as CADET ports\n"); |
50 | GNUNET_CRYPTO_hash (&port, | 50 | GNUNET_CRYPTO_hash(&port, |
51 | sizeof (port), | 51 | sizeof(port), |
52 | &hash); | 52 | &hash); |
53 | return &hash; | 53 | return &hash; |
54 | } | 54 | } |
55 | 55 | ||