From 52cee1766872d4932e3e8b35b493768ea57021ef Mon Sep 17 00:00:00 2001 From: Takashi Kojo Date: Wed, 4 Jul 2018 07:28:06 +0900 Subject: [PATCH] use XSEEK_END --- src/ssl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ssl.c b/src/ssl.c index 565657ef9..6c5841b51 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -29457,7 +29457,7 @@ void* wolfSSL_GetDhAgreeCtx(WOLFSSL* ssl) i = XFTELL(bp->file); if (i < 0) return NULL; - if (XFSEEK(bp->file, 0, SEEK_END) != 0) + if (XFSEEK(bp->file, 0, XSEEK_END) != 0) return NULL; l = XFTELL(bp->file); if (l < 0) @@ -29548,7 +29548,7 @@ void* wolfSSL_GetDhAgreeCtx(WOLFSSL* ssl) return NULL; } - if (XFSEEK(fp, 0, SEEK_END) != 0) + if (XFSEEK(fp, 0, XSEEK_END) != 0) return NULL; l = XFTELL(fp); if (l < 0)