use XSEEK_END

This commit is contained in:
Takashi Kojo 2018-07-04 07:28:06 +09:00 committed by Go Hosohara
parent e6612b34f7
commit 52cee17668

View File

@ -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)