[openssl-commits] [openssl] OpenSSL_1_0_2-stable update
Rich Salz
rsalz at openssl.org
Thu Feb 23 14:12:34 UTC 2017
The branch OpenSSL_1_0_2-stable has been updated
via 6cc190f988c8d41407e562d426f90722706fd8b3 (commit)
from 6161c5d81b66f38a8a65b78379182a42a9819cc6 (commit)
- Log -----------------------------------------------------------------
commit 6cc190f988c8d41407e562d426f90722706fd8b3
Author: Rich Salz <rsalz at openssl.org>
Date: Wed Feb 22 15:38:09 2017 -0500
Backport OSSL_NELEM
Reviewed-by: Tim Hudson <tjh at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2713)
-----------------------------------------------------------------------
Summary of changes:
crypto/ec/ec_asn1.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/crypto/ec/ec_asn1.c b/crypto/ec/ec_asn1.c
index cf81841..b0cd3e1 100644
--- a/crypto/ec/ec_asn1.c
+++ b/crypto/ec/ec_asn1.c
@@ -62,6 +62,8 @@
#include <openssl/asn1t.h>
#include <openssl/objects.h>
+#define OSSL_NELEM(x) (sizeof(x)/sizeof(x[0]))
+
int EC_GROUP_get_basis_type(const EC_GROUP *group)
{
int i;
More information about the openssl-commits
mailing list