X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fevp%2Fpmeth_lib.c;h=7c363956968e3f6b66330b6bb6da19a5d33c6d62;hp=0c0aa9ba53278b0bc325bdfb964fcda458bd2e7d;hb=4a3dc3c0e34d44590b6565f8a8f5f4f5192df988;hpb=cd7638980a2c2b16bb121bcb2ea8cc3cb03afcc1 diff --git a/crypto/evp/pmeth_lib.c b/crypto/evp/pmeth_lib.c index 0c0aa9ba53..7c36395696 100644 --- a/crypto/evp/pmeth_lib.c +++ b/crypto/evp/pmeth_lib.c @@ -68,7 +68,7 @@ STACK *app_pkey_methods = NULL; extern EVP_PKEY_METHOD rsa_pkey_meth; -const EVP_PKEY_METHOD *standard_methods[] = +static const EVP_PKEY_METHOD *standard_methods[] = { &rsa_pkey_meth }; @@ -171,7 +171,8 @@ int EVP_PKEY_CTX_ctrl(EVP_PKEY_CTX *ctx, int keytype, int optype, } -int EVP_PKEY_CTX_ctrl_str(EVP_PKEY_CTX *ctx, char *name, char *value) +int EVP_PKEY_CTX_ctrl_str(EVP_PKEY_CTX *ctx, + const char *name, const char *value) { if (!ctx || !ctx->pmeth || !ctx->pmeth->ctrl) {