9e84dea72d
use new libgcrypt ok maintainer Michael Schubert <michael at schubert.cx>
13 lines
544 B
Plaintext
13 lines
544 B
Plaintext
$OpenBSD: patch-wmbiff_Imap4Client_c,v 1.1 2004/05/08 06:50:10 sturm Exp $
|
|
--- wmbiff/Imap4Client.c.orig 2004-04-25 11:22:07.000000000 +0200
|
|
+++ wmbiff/Imap4Client.c 2004-04-25 11:22:23.000000000 +0200
|
|
@@ -659,7 +659,7 @@ authenticate_md5(Pop3 pc,
|
|
strcpy(buf, PCU.userName);
|
|
strcat(buf, " ");
|
|
ask_user_for_password(pc, 0);
|
|
- gmh = gcry_md_open(GCRY_MD_MD5, GCRY_MD_FLAG_HMAC);
|
|
+ gcry_md_open(&gmh, GCRY_MD_MD5, GCRY_MD_FLAG_HMAC);
|
|
DEFROB(PCU.password);
|
|
gcry_md_setkey(gmh, PCU.password, strlen(PCU.password));
|
|
ENFROB(PCU.password);
|