summaryrefslogtreecommitdiffstats
path: root/crypto/include/internal/asn1_int.h
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/include/internal/asn1_int.h
parentbd95d64ace45ee4d895459f86efb551d8beaa302 (diff)
Specifiy size of arrays
Reviewed-by: Rich Salz <rsalz@openssl.org> GH: #1139
Diffstat (limited to 'crypto/include/internal/asn1_int.h')
-rw-r--r--crypto/include/internal/asn1_int.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/include/internal/asn1_int.h b/crypto/include/internal/asn1_int.h
index 4524fe2166..1bd1fab82f 100644
--- a/crypto/include/internal/asn1_int.h
+++ b/crypto/include/internal/asn1_int.h
@@ -59,10 +59,10 @@ DEFINE_STACK_OF_CONST(EVP_PKEY_ASN1_METHOD)
extern const EVP_PKEY_ASN1_METHOD cmac_asn1_meth;
extern const EVP_PKEY_ASN1_METHOD dh_asn1_meth;
extern const EVP_PKEY_ASN1_METHOD dhx_asn1_meth;
-extern const EVP_PKEY_ASN1_METHOD dsa_asn1_meths[];
+extern const EVP_PKEY_ASN1_METHOD dsa_asn1_meths[5];
extern const EVP_PKEY_ASN1_METHOD eckey_asn1_meth;
extern const EVP_PKEY_ASN1_METHOD hmac_asn1_meth;
-extern const EVP_PKEY_ASN1_METHOD rsa_asn1_meths[];
+extern const EVP_PKEY_ASN1_METHOD rsa_asn1_meths[2];
/*
* These are used internally in the ASN1_OBJECT to keep track of whether the