diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2016-05-27 21:10:05 +0200 |
---|---|---|
committer | Kurt Roeckx <kurt@roeckx.be> | 2016-06-04 15:08:32 +0200 |
commit | 578b55144121b83a96e780f241f614759c75d1b5 (patch) | |
tree | 88989ef3f5fbf45dd33a7c92eef5b8f997581689 /crypto/rsa/rsa_ameth.c | |
parent | Check for overflows in EOC. (diff) | |
download | openssl-578b55144121b83a96e780f241f614759c75d1b5.tar.xz openssl-578b55144121b83a96e780f241f614759c75d1b5.zip |
Specifiy size of arrays
Reviewed-by: Rich Salz <rsalz@openssl.org>
GH: #1139
Diffstat (limited to 'crypto/rsa/rsa_ameth.c')
-rw-r--r-- | crypto/rsa/rsa_ameth.c | 2 |
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, |