Displaying 16 results from an estimated 16 matches for "sha1_result".
2004 Oct 29
2
Test51 compile problems
....o userdb-static.o userdb-vpopmail.o
userdb-sql.o -Wl,--export-dynamic libpassword.a
../lib-settings/libsettings.a ../lib-ntlm/libntlm.a ../lib-sql/libsql.a
../lib/liblib.a -lcrypt -L/usr/local/mysql/lib -lmysqlclient -lz -ldl
/usr/local/mysql/lib/libmysqlclient.a(sha1.o)(.text+0x5c): In function
`sha1_result':
: multiple definition of `sha1_result'
../lib/liblib.a(sha1.o)(.text+0x7f4):/root/dovecot-1.0-test51/src/lib/sh
a1.c:242: first defined here
/usr/bin/ld: Warning: size of symbol `sha1_result' changed from 158 in
../lib/liblib.a(sha1.o) to 126 in ../lib/liblib.a(sha1.o)
collect2: ld re...
2005 Dec 19
1
Compile failure (alpha 5, MySQL 5)
...t-dynamic libpassword.a ../lib-settings/libsettings.a
../lib-ntlm/libntlm.a ../lib-sql/libsql.a ../lib/liblib.a -lcrypt -lpam
-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv
-L/usr/local/mysql/lib -lmysqlclient -lz -ldl
/usr/local/mysql/lib/libmysqlclient.a(sha1.o)(.text+0x50): In function
`sha1_result':
: multiple definition of `sha1_result'
../lib/liblib.a(sha1.o)(.text+0x820):/usr/local/src/dovecot-1.0.alpha5/src/lib/sha1.c:233:
first defined here
/usr/bin/ld: Warning: size of symbol `sha1_result' changed from 158 in
../lib/liblib.a(sha1.o) to 316 in
/usr/local/mysql/lib/libmysq...
2005 Mar 31
1
dovecot-1.0-test65 + mysql build problem (sha1_result)
Hello all!
When trying to build dovecot-1.0-test65 with mysql support I get the
following error:
...
/usr/local/mysql/lib/libmysqlclient.a(sha1.o)(.text+0x5c): In function
`sha1_result':
: multiple definition of `sha1_result'
../lib/liblib.a(sha1.o)(.text+0x830):/usr/local/src/dovecot/dovecot-1.0-test65/src/lib/sha1.c:242: first defined here
/usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../../i586-suse-linux/bin/ld: Warning: size of symbol `sha1_result' changed from 15...
2005 Oct 14
2
Problem with dovecot 1.0 make
When trying to build dovecot with MySQL support I got the following:
/usr/local/mysql/lib/libmysqlclient.a(sha1.o)(.text+0x5c): In function
`sha1_result':
: multiple definition of `sha1_result'
../lib/liblib.a(sha1.o)(.text+0x880):/root/dovecot-1.0.alpha3/src/lib/sha1.c:233:
first defined here
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld:
Warning: size of symbol `sha1_result' changed from 158 in...
2005 Aug 03
1
error sha1
...port-dynamic libpassword.a
../lib-settings/li
bsettings.a ../lib-ntlm/libntlm.a ../lib-sql/libsql.a ../lib/liblib.a
-L/usr/lib
/mysql /usr/lib/mysql/libmysqlclient.a -lcrypt -lnsl -lm -lc -lnss_files
-lnss_d
ns -lresolv -lz -ldl
/usr/lib/mysql/libmysqlclient.a(sha1.o)(.text+0x60): In function
`sha1_result':
: multiple definition of `sha1_result'
../lib/liblib.a(sha1.o)(.text+0x7f4):/usr/local/src/dovecot/dovecot-1.0-stable/s
rc/lib/sha1.c:233: first defined here
/usr/bin/ld: Warning: size of symbol `sha1_result' changed from 158 in
../lib/li
blib.a(sha1.o) to 126 in ../lib/liblib.a(sha1...
2006 Apr 13
1
Failing to compile beta7
...serdb-static.o
userdb-vpopmail.o userdb-sql.o -Wl,--export-dynamic libpassword.a
../lib-settings/libsettings.a ../lib-ntlm/libntlm.a ../lib-sql/libsql.a
../lib/liblib.a -lcrypt -L/usr/local/mysql/lib -lmysqlclient -lz -lm -ldl
/usr/local/mysql/lib/libmysqlclient.a(sha1.o)(.text+0x5c): In function
`sha1_result':
: multiple definition of `sha1_result'
../lib/liblib.a(sha1.o)(.text+0x7f4):/root/dovecot-1.0.beta7/src/lib/sha1.c:
233: first defined here
/usr/bin/ld: Warning: size of symbol `sha1_result' changed from 158 in
../lib/liblib.a(sha1.o) to 126 in ../lib/liblib.a(sha1.o)
collect2: ld ret...
2006 May 10
2
dovecot 1.0beta7 dying on me
...'m running this on a RHEL 3U7 system. I created a core file, but it doesn't
look like it's too helpful (I've attached the gdb output to this message). I
tried recompiling with "--enable-debug", but I got:
/usr/lib/mysql/libmysqlclient.a(sha1.o)(.text+0x60): In function `sha1_result':
: multiple definition of `sha1_result'
../lib/liblib.a(sha1.o)(.text+0x7f4):/scratch/dovecot-1.0.beta7/src/lib/sha1.c:233: first defined here
/usr/bin/ld: Warning: size of symbol `sha1_result' changed from 158 in ../lib/liblib.a(sha1.o) to 126 in ../lib/liblib.a(sha1.o)
collect2: ld r...
2005 Aug 05
3
Compile trouble with mysql
Hello!
I tried to compile the latest 1.0-test (79) with mysql support, but
there is the following error:
...
/usr/local/mysql/lib/libmysqlclient.a(sha1.o)(.text+0x5c): In function
`sha1_result':
: multiple definition of `sha1_result'
../lib/liblib.a(sha1.o)(.text+0x830):/usr/local/src/dovecot/dovecot-1.0-test79/src/lib/sha1.c:233: first defined here
...
So 'sha1_result' is defined by mysqlclient and dovecot. This is an issue
I already reported some time ago. According to...
2006 May 06
0
rebuilding dovecot 1.0 beta7 at.src.rpm mysql error
...s mysql-devel, but still get the same error
when i run
rpmbuild -ba dovecot.spec && rpm -Uvh --force ../RPMS/i386/dovecot*
am i doing this completely wrong, is there something else i need to do
to be able to use mysql 5?
/usr/lib/mysql/libmysqlclient.a(sha1.o)(.text+0x60): In function
`sha1_result':
: multiple definition of `sha1_result'
../lib/liblib.a(sha1.o)(.text+0x8e7):/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib/sha1.c:233:
first defined here
/usr/bin/ld: Warning: size of symbol `sha1_result' changed from 191 in
../lib/liblib.a(sha1.o) to 126 in /usr/lib/mysql/libmysql...
2006 Oct 14
4
1.0.rc9 released
...ee them.
* 64bit systems: dovecot.index.cache file will be rebuilt because
some time fields have been changed from 64bit fields to 32bit
fields. Now the same cache file can be used in both 32bit and
64bit systems without it being rebuilt.
* Added libmysqlclient workaround to conflicting sha1_result symbol,
which caused Dovecot to fail logging into MySQL.
+ dovecot.index.cache file opening is delayed until it's actually
needed. This reduces disk accesses a bit with eg. STATUS commands.
+ auth_cache: Try to handle changing passwords automatically: If
password verification fails,...
2006 Oct 14
4
1.0.rc9 released
...ee them.
* 64bit systems: dovecot.index.cache file will be rebuilt because
some time fields have been changed from 64bit fields to 32bit
fields. Now the same cache file can be used in both 32bit and
64bit systems without it being rebuilt.
* Added libmysqlclient workaround to conflicting sha1_result symbol,
which caused Dovecot to fail logging into MySQL.
+ dovecot.index.cache file opening is delayed until it's actually
needed. This reduces disk accesses a bit with eg. STATUS commands.
+ auth_cache: Try to handle changing passwords automatically: If
password verification fails,...
2006 Oct 13
1
MySQL "access denied" problems
Now that I was able to debug it myself, I found that it's caused by the
same problem as before: Conflicting sha1_result symbol. This time only
linking succeeded without errors, but at runtime it was still using the
wrong one.
So I updated the wiki page: http://wiki.dovecot.org/MysqlProblems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signa...
2006 Jun 26
1
[PATCH, RFC 0/13] OTP: add auth_cache_remove()
This patchset add support for One-Time-Password authentication mechanisms,
both S/Key (RFC 1731) and OTP (RFC 2444) are implemented.
Tested with mutt (uses cyrus sasl library for authentication).
Patches were made against CVS HEAD. Please take a look.
Add auth_cache_remove() function which will be used by OTP code to evict
old entries from auth cache.
diff -urdpNX /usr/share/dontdiff -x
2012 Sep 04
2
[PATCH] Generalize HMAC implementation
...e "hmac-sha1.h"
+#include "hmac.h"
+#include "sha1.h"
#include "randgen.h"
#include "safe-memset.h"
#include "str.h"
@@ -44,23 +45,23 @@
const unsigned char *salt, size_t salt_size, unsigned int i,
unsigned char result[SHA1_RESULTLEN])
{
- struct hmac_sha1_context ctx;
+ struct hmac_context ctx;
unsigned char U[SHA1_RESULTLEN];
unsigned int j, k;
/* Calculate U1 */
- hmac_sha1_init(&ctx, str, str_size);
- hmac_sha1_update(&ctx, salt, salt_size);
- hmac_sha1_update(&ctx, "\0\0\0\1", 4);
- hmac_s...
2006 May 02
2
Dovecot-1.0.beta7 Build Fedora 3 Error
...solv -lz -lm -ldl
make[2]: Leaving directory
`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/auth'
make[1]: Leaving directory `/usr/src/redhat/BUILD/dovecot-1.0.beta7/src'
RPM build errors:
/BUILD/dovecot-1.0.beta7/src/lib/sha1.c:233: first defined here
/usr/bin/ld: Warning: size of symbol `sha1_result' changed from 190 in
../lib/liblib.a(sha1.o) to 126 in /usr/lib/mysql/libmysqlclient.a(sha1.o)
collect2: ld returned 1 exit status
make[2]: *** [dovecot-auth] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.445...
2020 Feb 09
2
[RFC PATCH] Add SHA1 support
...context *ctx, const uchar *input, uint32 length);
void md5_result(md_context *ctx, uchar digest[MD5_DIGEST_LEN]);
-void get_md5(uchar digest[MD5_DIGEST_LEN], const uchar *input, int n);
+void sha1_begin(SHA_CTX *ctx);
+void sha1_update(SHA_CTX *ctx, const void *input, unsigned int length);
+void sha1_result(SHA_CTX *ctx, void *digest);
+
+#define MDLIB_MD_CTX struct md_lib_ctx
+
+#define mdlib_initialize() do { } while (0)
+
+#define mdlib_new_ctx() malloc(sizeof(struct md_lib_ctx))
+#define mdlib_free_ctx(_ctx) free(_ctx)
+
+static inline int mdlib_init_md5(struct md_lib_ctx *ctx)
+{
+ md5_begi...