Fix placement of #endif

This commit is contained in:
Sean Parkinson
2017-12-08 09:13:53 +10:00
parent 4c4b02bb31
commit 4f97a49213

View File

@ -2840,7 +2840,7 @@ void FreeX509(WOLFSSL_X509* x509)
if (x509->altNames)
FreeAltNames(x509->altNames, x509->heap);
}
#endif /* !NO_CERTS */
#endif /* !NO_DH || HAVE_ECC */
#ifndef NO_CERTS
@ -3774,8 +3774,6 @@ static int X25519MakeKey(WOLFSSL* ssl, curve25519_key* key,
}
#endif /* HAVE_CURVE25519 */
#endif /* !NO_CERTS */
#if !defined(NO_CERTS) || !defined(NO_PSK)
#if !defined(NO_DH)