constify *_dup() and *i2d_*() and related functions as far as possible, introducing...
[openssl.git] / crypto / rsa / rsa_pmeth.c
index 3bb500cbf0d3fadd69fa6184ac99bc9aff776f0c..2295fa57db7492907ef55b7fd54cefda70becd39 100644 (file)
@@ -70,7 +70,7 @@ static int pkey_rsa_init(EVP_PKEY_CTX *ctx)
     return 1;
 }
 
-static int pkey_rsa_copy(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src)
+static int pkey_rsa_copy(EVP_PKEY_CTX *dst, const EVP_PKEY_CTX *src)
 {
     RSA_PKEY_CTX *dctx, *sctx;