Commit e86b99fd authored by Ronan's avatar Ronan

fix(bzrtp): disable new gcc 8 -Wcast-function-type warnings (FIXME in the future)

parent 1b943ed3
Pipeline #19 passed with stage
in 0 seconds
......@@ -2,21 +2,21 @@
@file bzrtp.c
@brief Public entry points to the ZRTP implementation
@author Johan Pascal
@copyright Copyright (C) 2017 Belledonne Communications, Grenoble, France
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 the Free Software Foundation; either version 2
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 General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
......@@ -42,10 +42,10 @@ static bzrtpChannelContext_t *getChannelContext(bzrtpContext_t *zrtpContext, uin
static uint8_t copyCryptoTypes(uint8_t destination[7], uint8_t source[7], uint8_t size);
/*
* Create context structure and initialise it
* Create context structure and initialise it
*
* @return The ZRTP engine context data
*
*
*/
bzrtpContext_t *bzrtp_createBzrtpContext(void) {
int i;
......@@ -70,7 +70,7 @@ bzrtpContext_t *bzrtp_createBzrtpContext(void) {
context->zrtpCallbacks.bzrtp_srtpSecretsAvailable = NULL;
context->zrtpCallbacks.bzrtp_startSrtpSession = NULL;
context->zrtpCallbacks.bzrtp_contextReadyForExportedKeys = NULL;
for (i=1; i<ZRTP_MAX_CHANNEL_NUMBER; i++) {
......@@ -104,7 +104,7 @@ bzrtpContext_t *bzrtp_createBzrtpContext(void) {
/* initialise transient shared auxiliary secret buffer */
context->transientAuxSecret = NULL;
context->transientAuxSecretLength = 0;
/* initialise key buffers */
context->ZRTPSess = NULL;
context->ZRTPSessLength = 0;
......@@ -181,7 +181,7 @@ int bzrtp_initBzrtpContext(bzrtpContext_t *context, uint32_t selfSSRC) {
* @param[in] selfSSRC The SSRC identifying the channel to be destroyed
*
* @return the number of channel still active in this ZRTP context
*
*
*/
int bzrtp_destroyBzrtpContext(bzrtpContext_t *context, uint32_t selfSSRC) {
int i;
......@@ -258,7 +258,7 @@ int bzrtp_destroyBzrtpContext(bzrtpContext_t *context, uint32_t selfSSRC) {
free(context->selfURI);
free(context->peerURI);
/* transient shared auxiliary secret */
if (context->transientAuxSecret != NULL) {
bzrtp_DestroyKey(context->transientAuxSecret, context->transientAuxSecretLength, context->RNGContext);
......@@ -444,7 +444,7 @@ int bzrtp_iterate(bzrtpContext_t *zrtpContext, uint32_t selfSSRC, uint64_t timeR
* @param[in] clientData The clientData pointer, casted to a (void *)
*
* @return 0 on success
*
*
*/
int bzrtp_setClientData(bzrtpContext_t *zrtpContext, uint32_t selfSSRC, void *clientData) {
/* get channel context */
......@@ -515,7 +515,7 @@ int bzrtp_processMessage(bzrtpContext_t *zrtpContext, uint32_t selfSSRC, uint8_t
bzrtp_freeZrtpPacket(zrtpPacket);
bzrtp_freeZrtpPacket(pingAckPacket);
zrtpChannelContext->pingPacket = NULL;
return retval;
}
......@@ -568,6 +568,11 @@ void bzrtp_resetSASVerified(bzrtpContext_t *zrtpContext) {
}
}
/* FIXME: Temporary workaround for -Wcast-function-type. */
#if __GNUC__ >= 8
_Pragma("GCC diagnostic push")
_Pragma("GCC diagnostic ignored \"-Wcast-function-type\"")
#endif // if __GNUC__ >= 8
/*
* @brief Allow client to compute an exported according to RFC section 4.5.2
......@@ -623,6 +628,10 @@ int bzrtp_exportKey(bzrtpContext_t *zrtpContext, char *label, size_t labelLength
return 0;
}
#if __GNUC__ >= 8
_Pragma("GCC diagnostic pop")
#endif // if __GNUC__ >= 8
/*
* @brief Reset the retransmission timer of a given channel.
* Packets will be sent again if appropriate:
......@@ -1008,7 +1017,7 @@ static bzrtpChannelContext_t *getChannelContext(bzrtpContext_t *zrtpContext, uin
if (zrtpContext==NULL) {
return NULL;
}
for (i=0; i<ZRTP_MAX_CHANNEL_NUMBER; i++) {
if (zrtpContext->channelContext[i]!=NULL) {
if (zrtpContext->channelContext[i]->selfSSRC == selfSSRC) {
......@@ -1022,7 +1031,7 @@ static bzrtpChannelContext_t *getChannelContext(bzrtpContext_t *zrtpContext, uin
/**
* @brief Initialise the context of a channel and create and store the Hello packet
* Initialise some vectors
*
*
* @param[in] zrtpContext The zrtpContext hosting this channel, needed to acces the RNG
* @param[out] zrtpChanneContext The channel context to be initialised
* @param[in] selfSSRC The SSRC allocated to this channel
......@@ -1133,7 +1142,7 @@ static int bzrtp_initChannelContext(bzrtpContext_t *zrtpContext, bzrtpChannelCon
/**
* @brief Destroy the context of a channel
* Free allocated buffers, destroy keys
*
*
* @param[in] zrtpContext The zrtpContext hosting this channel, needed to acces the RNG
* @param[in] zrtpChannelContext The channel context to be destroyed
*/
......
This diff is collapsed.
......@@ -12,17 +12,17 @@
@author Johan Pascal
@copyright Copyright (C) 2014 Belledonne Communications, Grenoble, France
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 the Free Software Foundation; either version 2
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 General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
......@@ -73,8 +73,13 @@ uint8_t patternKDFContext[KDF_TEST_NUMBER][56] = {
{0xf0, 0x1f, 0x24, 0x02, 0x00, 0x00, 0x00, 0x00, 0x80, 0x24, 0xad, 0xfb, 0x94, 0xa9, 0x06, 0x90, 0xcf, 0x9c, 0xed, 0x13, 0x99, 0x8c, 0x51, 0x34, 0x7d, 0xc4, 0x35, 0xa7, 0x4d, 0x75, 0x25, 0x44, 0x80, 0xc2, 0x11, 0xf2, 0xd3, 0x20, 0x5e, 0xa7, 0x1b, 0x4b, 0xa4, 0xee, 0xc7, 0x8e, 0xb7, 0x35, 0x75, 0x28, 0xe5, 0x6f, 0xcf, 0x4f, 0x74, 0x9f}
};
static void test_zrtpKDF(void) {
/* FIXME: Temporary workaround for -Wcast-function-type. */
#if __GNUC__ >= 8
_Pragma("GCC diagnostic push")
_Pragma("GCC diagnostic ignored \"-Wcast-function-type\"")
#endif // if __GNUC__ >= 8
static void test_zrtpKDF(void) {
int i;
uint8_t keyKDF[32] = {0x33, 0xe6, 0x6c, 0x01, 0xca, 0x6f, 0xe6, 0x4f, 0xb7, 0x6f, 0xfd, 0xe3, 0x1c, 0xab, 0xc0, 0xfb, 0xad, 0x3d, 0x31, 0x02, 0x67, 0x6b, 0x0c, 0x09, 0x0f, 0xc9, 0x96, 0x38, 0x1e, 0x0a, 0x8c, 0x2f};
uint8_t output[32];
......@@ -89,16 +94,19 @@ static void test_zrtpKDF(void) {
BC_ASSERT_TRUE(memcmp(output, patternKDFOutput[i], patternKDFHmacLength[i]) == 0);
}
}
#if __GNUC__ >= 8
_Pragma("GCC diagnostic pop")
#endif // if __GNUC__ >= 8
#define CRC_TEST_NUMBER 3
uint16_t patternCRCLength[CRC_TEST_NUMBER] = {128, 24, 480};
uint8_t patterCRCinput[CRC_TEST_NUMBER][480] = {
{0x10, 0x00, 0x18, 0xca, 0x5a, 0x52, 0x54, 0x50, 0x63, 0x67, 0x4b, 0xfb, 0x50, 0x5a, 0x00, 0x1d, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x20, 0x20, 0x20, 0x31, 0x2e, 0x31, 0x30, 0x4c, 0x49, 0x4e, 0x50, 0x48, 0x4f, 0x4e, 0x45, 0x2d, 0x5a, 0x52, 0x54, 0x50, 0x43, 0x50, 0x50, 0x5d, 0x9c, 0x1a, 0x31, 0xfa, 0x1d, 0xe7, 0xfd, 0x0a, 0x90, 0x33, 0x92, 0x3a, 0x7b, 0xe5, 0xfb, 0xf9, 0xa3, 0xd3, 0x23, 0x28, 0x6e, 0xfc, 0x72, 0x49, 0xeb, 0x7b, 0x71, 0x3e, 0x06, 0x7c, 0xc9, 0x94, 0xa9, 0x06, 0x90, 0xcf, 0x9c, 0xed, 0x13, 0x99, 0x8c, 0x51, 0x34, 0x00, 0x01, 0x12, 0x21, 0x53, 0x32, 0x35, 0x36, 0x41, 0x45, 0x53, 0x31, 0x48, 0x53, 0x33, 0x32, 0x48, 0x53, 0x38, 0x30, 0x44, 0x48, 0x33, 0x6b, 0x4d, 0x75, 0x6c, 0x74, 0x42, 0x33, 0x32, 0x20, 0x80, 0x47, 0x37, 0x13, 0xdc, 0xd6, 0xef, 0x54},
{0x10, 0x00, 0x18, 0xcd, 0x5a, 0x52, 0x54, 0x50, 0x63, 0x67, 0x4b, 0xfb, 0x50, 0x5a, 0x00, 0x03, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x41, 0x43, 0x4b},
{0x10, 0x00, 0x18, 0xcf, 0x5a, 0x52, 0x54, 0x50, 0x63, 0x67, 0x4b, 0xfb, 0x50, 0x5a, 0x00, 0x75, 0x44, 0x48, 0x50, 0x61, 0x72, 0x74, 0x31, 0x20, 0xda, 0x39, 0xde, 0xa2, 0x99, 0xf2, 0x9e, 0x17, 0x7b, 0xd2, 0x5e, 0x16, 0x21, 0xfb, 0xf3, 0xe7, 0x8f, 0xa7, 0xdf, 0x0d, 0x18, 0x79, 0x86, 0x45, 0x2d, 0x9c, 0xf2, 0x16, 0x7f, 0x09, 0x98, 0x11, 0x3a, 0xd1, 0xeb, 0xf1, 0x85, 0xa7, 0x2a, 0x85, 0xfe, 0x41, 0x5f, 0x50, 0x80, 0x5a, 0xaa, 0x39, 0x27, 0x89, 0xc0, 0x58, 0x68, 0x1c, 0x56, 0xae, 0x36, 0xa6, 0xee, 0x54, 0x06, 0x2c, 0x06, 0x76, 0x7c, 0x8d, 0xe0, 0xf7, 0x66, 0x82, 0x85, 0xb6, 0x3a, 0x2e, 0xd1, 0x98, 0x9d, 0xd9, 0xf1, 0x89, 0x67, 0xac, 0xe2, 0xe6, 0x54, 0x50, 0x7e, 0x24, 0xdd, 0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, 0x34, 0x87, 0x0a, 0xb1, 0x0d, 0x92, 0x01, 0x0a, 0xb1, 0xb0, 0xd5, 0xd9, 0xb7, 0x74, 0x01, 0x2e, 0x0f, 0xab, 0xc8, 0x4a, 0x57, 0x0e, 0x94, 0x2c, 0x2d, 0x32, 0x7f, 0x67, 0x89, 0xa2, 0xc5, 0xa2, 0xb3, 0xd3, 0x68, 0x76, 0x3d, 0xe8, 0x96, 0x34, 0xa9, 0x96, 0x4f, 0x66, 0xc0, 0x10, 0x3c, 0xf6, 0x4d, 0xaf, 0xc8, 0xd3, 0xbd, 0x38, 0x6f, 0x52, 0x0f, 0x1b, 0xa9, 0x0e, 0x92, 0x46, 0x0d, 0xba, 0x40, 0x1a, 0xec, 0x68, 0x80, 0xec, 0xa0, 0xfe, 0x1a, 0x9b, 0xa5, 0xd8, 0x54, 0x85, 0x15, 0x9e, 0x64, 0x1c, 0x5e, 0xd8, 0x97, 0xc2, 0x4c, 0x4f, 0xf7, 0xe9, 0x09, 0x3c, 0x6d, 0xc3, 0x8c, 0x1b, 0x36, 0xd0, 0x56, 0xd2, 0x77, 0xcd, 0xaa, 0xcf, 0x5c, 0xff, 0xdf, 0x23, 0x93, 0xb5, 0xdc, 0x08, 0x95, 0x97, 0xdb, 0x68, 0x2d, 0x4b, 0x01, 0x89, 0xb2, 0x8b, 0xd0, 0x25, 0x19, 0xab, 0xbf, 0x49, 0xcf, 0xa5, 0x27}
};
uint32_t patternCRCoutput[CRC_TEST_NUMBER] = {0x5065ab04, 0x9c9edccd, 0xda5c92ea};
......
......@@ -283,6 +283,11 @@ typedef struct my_Context_struct {
bzrtpChannelContext_t *peerChannelContext;
} my_Context_t;
/* FIXME: Temporary workaround for -Wcast-function-type. */
#if __GNUC__ >= 8
_Pragma("GCC diagnostic push")
_Pragma("GCC diagnostic ignored \"-Wcast-function-type\"")
#endif // if __GNUC__ >= 8
static void test_parserComplete() {
......@@ -1555,6 +1560,9 @@ static void test_parserComplete() {
}
#if __GNUC__ >= 8
_Pragma("GCC diagnostic pop")
#endif // if __GNUC__ >= 8
typedef struct packetDatas_struct {
uint8_t packetString[1000];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment