Specifiy size of arrays
[openssl.git] / crypto / dsa / dsa_ameth.c
index a53247c0748920164a4d1a4c9b99b68853d90d05..b30368e32e33445df01f0e3c4dc8611473527463 100644 (file)
@@ -509,7 +509,7 @@ static int dsa_pkey_ctrl(EVP_PKEY *pkey, int op, long arg1, void *arg2)
 
 /* NB these are sorted in pkey_id order, lowest first */
 
-const EVP_PKEY_ASN1_METHOD dsa_asn1_meths[] = {
+const EVP_PKEY_ASN1_METHOD dsa_asn1_meths[5] = {
 
     {
      EVP_PKEY_DSA2,