summaryrefslogtreecommitdiffstats
path: root/crypto/rsa
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2016-05-27 21:10:05 +0200
committerKurt Roeckx <kurt@roeckx.be>2016-06-04 15:08:32 +0200
commit578b55144121b83a96e780f241f614759c75d1b5 (patch)
tree88989ef3f5fbf45dd33a7c92eef5b8f997581689 /crypto/rsa
parentbd95d64ace45ee4d895459f86efb551d8beaa302 (diff)
Specifiy size of arrays
Reviewed-by: Rich Salz <rsalz@openssl.org> GH: #1139
Diffstat (limited to 'crypto/rsa')
-rw-r--r--crypto/rsa/rsa_ameth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rsa/rsa_ameth.c b/crypto/rsa/rsa_ameth.c
index 4f9c056514..d55cf330b9 100644
--- a/crypto/rsa/rsa_ameth.c
+++ b/crypto/rsa/rsa_ameth.c
@@ -827,7 +827,7 @@ static int rsa_cms_encrypt(CMS_RecipientInfo *ri)
}
#endif
-const EVP_PKEY_ASN1_METHOD rsa_asn1_meths[] = {
+const EVP_PKEY_ASN1_METHOD rsa_asn1_meths[2] = {
{
EVP_PKEY_RSA,
EVP_PKEY_RSA,