From b4dab5a27f35ca2726fbfe19e3f27d243c5cbe2d7f4dc757193d8c0367baaeff Mon Sep 17 00:00:00 2001 From: Marius Tomaschewski Date: Tue, 10 Feb 2015 15:35:33 +0000 Subject: [PATCH] - 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 --- openvpn-fips140-2.3.2.patch | 2 +- openvpn.changes | 5 +++++ openvpn.spec | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/openvpn-fips140-2.3.2.patch b/openvpn-fips140-2.3.2.patch index 777e084..8580952 100644 --- a/openvpn-fips140-2.3.2.patch +++ b/openvpn-fips140-2.3.2.patch @@ -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 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); diff --git a/openvpn.changes b/openvpn.changes index ed20e95..1203921 100644 --- a/openvpn.changes +++ b/openvpn.changes @@ -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 diff --git a/openvpn.spec b/openvpn.spec index 8edb014..119a4c8 100644 --- a/openvpn.spec +++ b/openvpn.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed