bb8b59d Moved unsecure sss_rand() out of crypto lib

5 files Authored by atikhonov 4 years ago, Committed by pbrezina 4 years ago,
    Moved unsecure sss_rand() out of crypto lib
    
    sss_rand() was:
     - moved out of crypto lib,
     - non security relevant purpose was emphasized
     - attempt to "use RAND_bytes() if available" was removed to simplify
       things and make return value compatible with rand()
    
    Resolves:
    https://pagure.io/SSSD/sssd/issue/4024#comment-603526 parts (1) and (3)
    
    Reviewed-by: Simo Sorce <simo@redhat.com>
    Reviewed-by: Tomáš Halman <thalman@redhat.com>
    
        
file modified
+0 -6
file modified
+15 -0
file modified
+7 -0