mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-06 01:02:26 +01:00
24 lines
629 B
Diff
24 lines
629 B
Diff
--- iaxmodem-1.2.0.orig/lib/libiax2/src/iax.c
|
|
+++ iaxmodem-1.2.0/lib/libiax2/src/iax.c
|
|
@@ -77,9 +77,6 @@
|
|
|
|
#if !defined(MACOSX) && !defined(__OpenBSD__)
|
|
#include <malloc.h>
|
|
-#if !defined(SOLARIS)
|
|
-#include <error.h>
|
|
-#endif
|
|
#endif
|
|
|
|
#endif
|
|
--- iaxmodem-1.2.0.orig/lib/libiax2/src/md5.c
|
|
+++ iaxmodem-1.2.0/lib/libiax2/src/md5.c
|
|
@@ -177,7 +177,7 @@
|
|
MD5Transform(ctx->buf, (uint32_t *) ctx->in);
|
|
byteReverse((uint8_t *) ctx->buf, 4);
|
|
memcpy(digest, ctx->buf, 16);
|
|
- memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */
|
|
+ memset(ctx, 0, sizeof(*ctx)); /* In case it's sensitive */
|
|
}
|
|
|
|
#ifndef ASM_MD5
|