LINUX.ORG.RU
ФорумAdmin

PureFTPd OLdap и пароли в md5 sha1 Help


0

0

Люди помоготи subj не хочет компилится с поддержкой шифрования MD5 and SHA1. Какую ему надо библиотеку и заголовки, в документации нигде ничего об этом не сказанно?

anonymous

Ответ на: комментарий от chucha

configure:17275: checking whether you already have a standard MD5 implementation configure:17313: gcc -o conftest -g -O2 -D_GNU_SOURCE=1 -I/usr/include -I/usr/kerberos/include -L/usr/lib conftest.c -lcrypt -lcrypto -lcap >&5 In file included from configure:17429: /usr/include/md5.h:27: parse error before "UINT4" /usr/include/md5.h:30: parse error before '}' token /usr/include/md5.h:38: parse error before "PROTO_LIST" /usr/include/md5.h:39: parse error before "PROTO_LIST" /usr/include/md5.h:41: parse error before "PROTO_LIST" /usr/include/md5.h:43: parse error before "PROTO_LIST" configure: In function `main': configure:17433: parse error before "ctx" configure:17436: `ctx' undeclared (first use in this function) configure:17436: (Each undeclared identifier is reported only once configure:17436: for each function it appears in.) configure:17316: $? = 1 configure: program exited with status 1 configure: failed program was: | #line 17284 "configure" | /* confdefs.h. */ | | /* end confdefs.h. */ | | #include <stdio.h> | #include <stdio.h> | #include <string.h> | #include <sys/types.h> | #include <md5.h> | | int main(void) | { | MD5_CTX ctx; | char b[33]; | | MD5_Init(&ctx); | MD5_Update(&ctx, (const unsigned char *) "test", 4U); | MD5_Final(b,&ctx); | b[32] = 0; | | return strcasecmp(b, "098f6bcd4621d373cade4e832627b4f6"); | } | configure:17338: result: no configure:17345: checking whether you already have a standard SHA1 implementation configure:17382: gcc -o conftest -g -O2 -D_GNU_SOURCE=1 -I/usr/include -I/usr/kerberos/include -L/usr/lib conftest.c -lcrypt -lcrypto -lcap >&5 configure:17498:18: sha1.h: No such file or directory configure: In function `main': configure:17502: `SHA1_CTX' undeclared (first use in this function) configure:17502: (Each undeclared identifier is reported only once configure:17502: for each function it appears in.) configure:17502: parse error before "ctx" configure:17505: `ctx' undeclared (first use in this function) configure:17385: $? = 1 configure: program exited with status 1 configure: failed program was: | #line 17354 "configure" | /* confdefs.h. */ |

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.