Some more tweaks from ENGINE code.
authorGeoff Thorpe <geoff@openssl.org>
Wed, 18 Apr 2001 04:18:16 +0000 (04:18 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Wed, 18 Apr 2001 04:18:16 +0000 (04:18 +0000)
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).


No differences found