diff options
author | Erwin Jansen <jansene@google.com> | 2021-06-30 07:29:26 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-06-30 07:29:26 +0000 |
commit | 059cdc5996938f5f6b5343b6c969c12098275587 (patch) | |
tree | 6eacaffe4bebf8e00c290c1e1839e084b0c52e88 /third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_sha1.h | |
parent | 97e54a7e73c7b24e464ef06ef3c3b3716f21bb15 (diff) | |
parent | 16be34ae72cdb525c88c2b31b21b976f35fe36d8 (diff) | |
download | webrtc-059cdc5996938f5f6b5343b6c969c12098275587.tar.gz |
Merge "Merge upstream-master and enable ARM64" into emu-master-devemu-31-stable-releaseemu-31-release
Diffstat (limited to 'third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_sha1.h')
-rwxr-xr-x | third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_sha1.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_sha1.h b/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_sha1.h index d535ee4639..9ff4ff7bdc 100755 --- a/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_sha1.h +++ b/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_sha1.h @@ -46,6 +46,8 @@ __FBSDID("$FreeBSD$"); #include <pk11pub.h> #elif defined(SCTP_USE_OPENSSL_SHA1) #include <openssl/sha.h> +#elif defined(SCTP_USE_MBEDTLS_SHA1) +#include <mbedtls/sha1.h> #endif struct sctp_sha1_context { @@ -53,6 +55,8 @@ struct sctp_sha1_context { struct PK11Context *pk11_ctx; #elif defined(SCTP_USE_OPENSSL_SHA1) SHA_CTX sha_ctx; +#elif defined(SCTP_USE_MBEDTLS_SHA1) + mbedtls_sha1_context sha1_ctx; #else unsigned int A; unsigned int B; |