• G
    Some more tweaks from ENGINE code. · a4a9d97a
    Geoff Thorpe 提交于
    Previously RAND_get_rand_method was returning a non-const pointer, but it
    should be const. As with all other such cases, METHOD pointers are stored and
    returned as "const". The only methods one should be able to alter are methods
    "local" to the relevant code, in which case a non-const handle to the methods
    should already exist.
    
    This change has been forced by the constifying of the ENGINE code (before
    which RAND_METHOD was the only method pointer in an ENGINE structure that was
    not constant).
    a4a9d97a
rand_lib.c 4.6 KB