use XSEEK_END
This commit is contained in:
parent
e6612b34f7
commit
52cee17668
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user