aports/main/libsrtp/use-cracklib-words.patch
info@mobile-stream.com c1fa63fe4f main/libsrtp: modernize, enable test
- use cracklib-words for test since there is no /usr/share/dict/words in Alpine (really?);
- built-in test passes on x86_64 and mipsel at least;
- the real motivation was to fix build on mips* (fix-name-collision.patch -- could be safely dropped);
2018-11-26 08:05:29 +00:00

12 lines
309 B
Diff

--- a/test/rtpw.c
+++ b/test/rtpw.c
@@ -93,7 +93,7 @@
#ifdef RTPW_USE_WINSOCK2
# define DICT_FILE "words.txt"
#else
-# define DICT_FILE "/usr/share/dict/words"
+# define DICT_FILE "/usr/share/dict/cracklib-words"
#endif
#define USEC_RATE (5e5)
#define MAX_WORD_LEN 128