diff options
author | tuexen <tuexen@FreeBSD.org> | 2010-01-16 20:04:17 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2010-01-16 20:04:17 +0000 |
commit | c0a018dc4a06de6bc8d0e7c5da15ed8dcf14ebed (patch) | |
tree | 15209913385ebc6bcfc19f94bbd60340f5d7f0f6 /sys/netinet/sctp_auth.h | |
parent | 8f3c3cadff9646a57479b4b4a0673e6f1b2540f4 (diff) | |
download | FreeBSD-src-c0a018dc4a06de6bc8d0e7c5da15ed8dcf14ebed.zip FreeBSD-src-c0a018dc4a06de6bc8d0e7c5da15ed8dcf14ebed.tar.gz |
Get rid of support of an old version of the SCTP-AUTH draft.
Get rid of unused MD5 code.
MFC after: 1 week
Diffstat (limited to 'sys/netinet/sctp_auth.h')
-rw-r--r-- | sys/netinet/sctp_auth.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/netinet/sctp_auth.h b/sys/netinet/sctp_auth.h index 8602c97..cecdb90 100644 --- a/sys/netinet/sctp_auth.h +++ b/sys/netinet/sctp_auth.h @@ -37,7 +37,6 @@ __FBSDID("$FreeBSD$"); /* digest lengths */ #define SCTP_AUTH_DIGEST_LEN_SHA1 20 -#define SCTP_AUTH_DIGEST_LEN_MD5 16 #define SCTP_AUTH_DIGEST_LEN_SHA224 28 #define SCTP_AUTH_DIGEST_LEN_SHA256 32 #define SCTP_AUTH_DIGEST_LEN_SHA384 48 @@ -52,7 +51,6 @@ __FBSDID("$FreeBSD$"); /* union of all supported HMAC algorithm contexts */ typedef union sctp_hash_context { SHA1_CTX sha1; - MD5_CTX md5; #ifdef HAVE_SHA2 SHA256_CTX sha256; SHA384_CTX sha384; @@ -234,8 +232,4 @@ sctp_initialize_auth_params(struct sctp_inpcb *inp, struct sctp_tcb *stcb); /* test functions */ -extern void sctp_test_hmac_sha1(void); -extern void sctp_test_hmac_md5(void); -extern void sctp_test_authkey(void); - #endif /* __SCTP_AUTH_H__ */ |