void-packages/srcpkgs/freerdp/patches/patch-libfreerdp-core_ntlms...

22 lines
739 B
Plaintext

$OpenBSD: patch-libfreerdp-core_ntlmssp_c,v 1.1 2014/04/14 17:10:56 naddy Exp $
--- libfreerdp-core/ntlmssp.c.orig Wed Jan 2 22:46:59 2013
+++ libfreerdp-core/ntlmssp.c Mon Apr 14 18:48:37 2014
@@ -456,7 +456,7 @@ void ntlmssp_compute_lm_hash(char* password, char* has
char text[14];
char des_key1[8];
char des_key2[8];
- des_key_schedule ks;
+ DES_key_schedule ks;
/* LM("password") = E52CAC67419A9A224A3B108F3FA6CB6D */
@@ -530,7 +530,7 @@ void ntlmssp_compute_lm_response(char* password, char*
char des_key1[8];
char des_key2[8];
char des_key3[8];
- des_key_schedule ks;
+ DES_key_schedule ks;
/* A LM hash is 16-bytes long, but the LM response uses a LM hash null-padded to 21 bytes */
memset(hash, '\0', 21);