aboutsummaryrefslogtreecommitdiff
path: root/crypto/sm2
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-06-05 09:37:14 +0200
committerRichard Levitte <levitte@openssl.org>2018-06-05 09:37:14 +0200
commit02f9d83585e03fb8d1c9d8bf5059db5b4acefd98 (patch)
tree9e8b589413fdbaf452bb7b2bf3d3bd65ded4ff54 /crypto/sm2
parent722add716bce487f5818cc57cb594fd526454b70 (diff)
downloadopenssl-02f9d83585e03fb8d1c9d8bf5059db5b4acefd98.zip
openssl-02f9d83585e03fb8d1c9d8bf5059db5b4acefd98.tar.gz
openssl-02f9d83585e03fb8d1c9d8bf5059db5b4acefd98.tar.bz2
crypto/sm2/sm2_za.c: include internal/numbers.h
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)
Diffstat (limited to 'crypto/sm2')
-rw-r--r--crypto/sm2/sm2_za.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/sm2/sm2_za.c b/crypto/sm2/sm2_za.c
index a9560c3..94d0dac 100644
--- a/crypto/sm2/sm2_za.c
+++ b/crypto/sm2/sm2_za.c
@@ -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,