Fix declarations and constification for inline stack.
[openssl.git] / crypto / evp / pmeth_lib.c
index a80fc33ccbed5ebc31f4978c2312677471225640..e880cfa37dae3f6bee50d1fe6596594495b5a82f 100644 (file)
@@ -69,7 +69,7 @@
 
 typedef int sk_cmp_fn_type(const char *const *a, const char *const *b);
 
-DECLARE_STACK_OF(EVP_PKEY_METHOD)
+DECLARE_CONST_STACK_OF(EVP_PKEY_METHOD)
 static STACK_OF(EVP_PKEY_METHOD) *app_pkey_methods = NULL;
 
 static const EVP_PKEY_METHOD *standard_methods[] = {