xmlsecurity/source/xmlsec/mscrypt/oid.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit e8c20aafb1385585cdd005fb9b75b87fe6893599 Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Wed Nov 22 09:03:31 2017 +0100 xmlsecurity mscrypt: use SAL_N_ELEMENTS() Change-Id: I39ddffc48c169ca5c95b4cc6b4799530c5d1984e Reviewed-on: https://gerrit.libreoffice.org/45069 Reviewed-by: Miklos Vajna <vmik...@collabora.co.uk> Tested-by: Jenkins <c...@libreoffice.org> diff --git a/xmlsecurity/source/xmlsec/mscrypt/oid.hxx b/xmlsecurity/source/xmlsec/mscrypt/oid.hxx index 94fa4c412558..26986aff762d 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/oid.hxx +++ b/xmlsecurity/source/xmlsec/mscrypt/oid.hxx @@ -20,6 +20,8 @@ #ifndef INCLUDED_XMLSECURITY_SOURCE_XMLSEC_MSCRYPT_OID_HXX #define INCLUDED_XMLSECURITY_SOURCE_XMLSEC_MSCRYPT_OID_HXX +#include <sal/macros.h> + typedef struct { char const *oid; char const *desc; @@ -147,7 +149,7 @@ OIDItem OIDs[] = { {"1.2.643.2.2.36.0", "GOST_R_34.10-2001_Sign_DH_PRO"} }; -int nOID = 119; +const int nOID = SAL_N_ELEMENTS(OIDs); #endif _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits