Commit e0685d24 authored by Andy Polyakov's avatar Andy Polyakov
Browse files

rsa/rsa_lib.c: const-ify RSA_get0_engine().



Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent dbbb6a87
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -304,7 +304,7 @@ void RSA_set_flags(RSA *r, int flags)
    r->flags |= flags;
}

ENGINE *RSA_get0_engine(RSA *r)
ENGINE *RSA_get0_engine(const RSA *r)
{
    return r->engine;
}
+1 −1
Original line number Diff line number Diff line
@@ -187,7 +187,7 @@ void RSA_get0_crt_params(const RSA *r,
void RSA_clear_flags(RSA *r, int flags);
int RSA_test_flags(const RSA *r, int flags);
void RSA_set_flags(RSA *r, int flags);
ENGINE *RSA_get0_engine(RSA *r);
ENGINE *RSA_get0_engine(const RSA *r);

/* Deprecated version */
DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void