crypto/sm2/sm2_za.c: include internal/numbers.h
authorRichard Levitte <levitte@openssl.org>
Tue, 5 Jun 2018 07:37:14 +0000 (09:37 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 5 Jun 2018 07:37:14 +0000 (09:37 +0200)
Needed for the platforms that don't define UINT16_MAX.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6414)

crypto/sm2/sm2_za.c

index a9560c3..94d0dac 100644 (file)
@@ -15,6 +15,7 @@
 #include <openssl/evp.h>
 #include <openssl/bn.h>
 #include <string.h>
+#include "internal/numbers.h"
 
 int sm2_compute_userid_digest(uint8_t *out,
                               const EVP_MD *digest,