summaryrefslogtreecommitdiffstats
path: root/crypto/sm2
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-09-12 02:06:26 +0200
committerRichard Levitte <richard@levitte.org>2018-09-12 02:12:31 +0200
commit6258e244bf702dc981c8ad63ab61133b8bbf2ba3 (patch)
treeea7b119bfcb5d45df77886e234e05fca12b82f02 /crypto/sm2
parentfc4e1ab4708a3eb87a107df7e085d0d8125c5171 (diff)
crypto/sm2/sm2_sign.c: ensure UINT16_MAX is properly defined
Fixes #7186 Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/7193) (cherry picked from commit 88ea3685e4bf30fc529fe46e19effc6317726de8)
Diffstat (limited to 'crypto/sm2')
-rw-r--r--crypto/sm2/sm2_sign.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/sm2/sm2_sign.c b/crypto/sm2/sm2_sign.c
index e594ffd10a..0f9c14cb5f 100644
--- a/crypto/sm2/sm2_sign.c
+++ b/crypto/sm2/sm2_sign.c
@@ -12,6 +12,7 @@
#include "internal/sm2.h"
#include "internal/sm2err.h"
#include "internal/ec_int.h" /* ec_group_do_inverse_ord() */
+#include "internal/numbers.h"
#include <openssl/err.h>
#include <openssl/evp.h>
#include <openssl/err.h>