Fix “#error old TLS requires MD5 and SHA” to only occur if !WOLFCRYPT_ONLY.
This commit is contained in:
parent
6cc42dcacb
commit
15e442637d
@ -1493,7 +1493,8 @@ static char *fgets(char *buff, int sz, FILE *fp)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if !defined(NO_OLD_TLS) && (defined(NO_SHA) || defined(NO_MD5))
|
||||
#if !defined(WOLFCRYPT_ONLY) && !defined(NO_OLD_TLS) && \
|
||||
(defined(NO_SHA) || defined(NO_MD5))
|
||||
#error old TLS requires MD5 and SHA
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user