Kaydet (Commit) e8c20aaf authored tarafından Miklos Vajna's avatar Miklos Vajna

xmlsecurity mscrypt: use SAL_N_ELEMENTS()

Change-Id: I39ddffc48c169ca5c95b4cc6b4799530c5d1984e
Reviewed-on: https://gerrit.libreoffice.org/45069Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
Tested-by: 's avatarJenkins <ci@libreoffice.org>
üst 67fd1ea4
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment