summaryrefslogtreecommitdiffstats
path: root/crypto/sm2
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-09-12 02:06:26 +0200
committerRichard Levitte <levitte@openssl.org>2018-09-12 02:06:26 +0200
commit88ea3685e4bf30fc529fe46e19effc6317726de8 (patch)
treeb2a382c7e369f2538c21d8337df85b3eafa5256f /crypto/sm2
parent9dfc868025721873952f7765e59ae9fee45a276a (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)
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>