SHA256
1
0
forked from pool/openvpn

- Fixed to use correct sha digest data length (boo#914166)

OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=85
This commit is contained in:
Marius Tomaschewski 2015-02-10 15:35:33 +00:00 committed by Git OBS Bridge
parent 5a65bc9e84
commit b4dab5a27f
3 changed files with 7 additions and 2 deletions

View File

@ -122,7 +122,7 @@ diff -urNp openvpn-2.3.2.orig/src/openvpn/crypto.h openvpn-2.3.2/src/openvpn/cry
-struct md5_digest { -struct md5_digest {
+struct sha1_digest { +struct sha1_digest {
uint8_t digest [MD5_DIGEST_LENGTH]; uint8_t digest [SHA_DIGEST_LENGTH];
}; };
-const char *md5sum(uint8_t *buf, int len, int n_print_chars, struct gc_arena *gc); -const char *md5sum(uint8_t *buf, int len, int n_print_chars, struct gc_arena *gc);

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 10 15:33:12 UTC 2015 - mt@suse.de
- Fixed to use correct sha digest data length (boo#914166)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 1 19:37:29 UTC 2014 - mt@suse.de Mon Dec 1 19:37:29 UTC 2014 - mt@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package openvpn # spec file for package openvpn
# #
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed