As a consequence of the BIGNUM constification, the ENGINE code needs a

few small constifying changes, and why not throw in a couple of extras
while I'm at it?
This commit is contained in:
Richard Levitte
2000-11-06 22:15:50 +00:00
parent e7ef1a561a
commit 10e473e930
9 changed files with 36 additions and 33 deletions

View File

@@ -430,7 +430,7 @@ int ENGINE_set_name(ENGINE *e, const char *name)
return 1;
}
int ENGINE_set_RSA(ENGINE *e, RSA_METHOD *rsa_meth)
int ENGINE_set_RSA(ENGINE *e, const RSA_METHOD *rsa_meth)
{
if((e == NULL) || (rsa_meth == NULL))
{
@@ -560,7 +560,7 @@ const char *ENGINE_get_name(ENGINE *e)
return e->name;
}
RSA_METHOD *ENGINE_get_RSA(ENGINE *e)
const RSA_METHOD *ENGINE_get_RSA(ENGINE *e)
{
if(e == NULL)
{