forked from pool/libgcrypt
15 lines
474 B
Diff
15 lines
474 B
Diff
|
Index: libgcrypt-1.8.2/src/global.c
|
||
|
===================================================================
|
||
|
--- libgcrypt-1.8.2.orig/src/global.c
|
||
|
+++ libgcrypt-1.8.2/src/global.c
|
||
|
@@ -145,6 +145,9 @@ void __attribute__ ((constructor)) _gcry
|
||
|
{
|
||
|
/* We always need the FSM lock to be functional. */
|
||
|
_gcry_initialize_fsm_lock ();
|
||
|
+
|
||
|
+ /* Run the self-tests from the constructor. */
|
||
|
+ global_init ();
|
||
|
}
|
||
|
|
||
|
/* This function is called by the macro fips_is_operational and makes
|