[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcrypt-devel
Subject:    Re: Bug in fips_is_operational in libgcrypt master
From:       Jussi Kivilinna <jussi.kivilinna () iki ! fi>
Date:       2018-10-27 16:05:24
Message-ID: 239fcfd1-e71d-c586-4672-3856b126468a () iki ! fi
[Download RAW message or body]

Hello,

On 26.10.2018 7.02, NIIBE Yutaka wrote:
> Hello,
> 
> I encounterd failures when I build gnupg master with new libgcrypt master.
> 
> All failures are same cause: gcry_md_open fails.  
> Example is: the test program gnupg/common/t-ssh-utils.c fails,
> when the function get_fingerprint in gnupg/common/ssh-utils.c
> calls gcry_md_open.
> 
> I located this commit has a problem:
> 
> 	Add fast path for _gcry_fips_is_operational
> 	commit: b6e6ace324440f564df664e27f8276ef01f76795
> 
> It seems for me that _gcry_global_is_operational should be
> used (for the case global_init is not called yet).
> 

I've pushed a fix to master:
    Fix missing global initialization in fips_is_operational
    commit: 6e669e09603e5a98b59dcf35f77f346db6c81eac

Sorry for the inconvenience.

-Jussi

_______________________________________________
Gcrypt-devel mailing list
Gcrypt-devel@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gcrypt-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic