crypto/sm2/sm2_sign.c: ensure UINT16_MAX is properly defined
authorRichard Levitte <levitte@openssl.org>
Wed, 12 Sep 2018 00:06:26 +0000 (02:06 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 12 Sep 2018 00:06:26 +0000 (02:06 +0200)
Fixes #7186

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7193)

crypto/sm2/sm2_sign.c

index e594ffd..0f9c14c 100644 (file)
@@ -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>