Merged #626.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/626#event-663925769___
sr-dev mailing list
sr-dev@lists.sip-router.org
Thanks!
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/626#issuecomment-219926753___
sr-dev mailing list
sr-dev@lists.sip-router.org
This little test program shows same output before and after patch.
`
#include
#include "sha256.h"
#include "shautils.h"
#define BUFSIZE 1024
int main(void) {
uint8_t buffer[BUFSIZE];
uint8_t src[2];
src[0]='a';
src[1]=0x0a;
compute_sha256((char
> sha256.c: In function 'sr_SHA256_Final':
> sha256.c:613:3: warning: dereferencing type-punned pointer will break
> strict-aliasing rules [-Wstrict-aliasing]
>*(sha2_word64*)>buffer[SHA256_SHORT_BLOCK_LENGTH] =
> context->bitcount;
>^
> sha256.c: In function 'SHA512_Last':
>