rsa/rsa_lib.c: const-ify RSA_get0_engine().
[openssl.git] / crypto / rsa / rsa_lib.c
index 14750d177e59779e06d745cbb341dcb8c5e6dc22..48e9100a97c11cc8ab3b8a7e1b41d7132f14c659 100644 (file)
@@ -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;
 }