diff options
author | 2007-09-10 14:29:53 +0000 | |
---|---|---|
committer | 2007-09-10 14:29:53 +0000 | |
commit | a52c79cd89b98bad71f1be2d3c15f4f5e57120b6 (patch) | |
tree | ff8409067e933072693b0dea0f1eff8be45c72ef /lib/libssl/src | |
parent | Allow port specification in our CVSROOT which is used for our (diff) | |
download | wireguard-openbsd-a52c79cd89b98bad71f1be2d3c15f4f5e57120b6.tar.xz wireguard-openbsd-a52c79cd89b98bad71f1be2d3c15f4f5e57120b6.zip |
Proper use of fseek/fseeko macros.
OK joris@, otto@
Diffstat (limited to 'lib/libssl/src')
-rw-r--r-- | lib/libssl/src/crypto/bio/bss_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libssl/src/crypto/bio/bss_file.c b/lib/libssl/src/crypto/bio/bss_file.c index 8034ac93f97..58fade9f297 100644 --- a/lib/libssl/src/crypto/bio/bss_file.c +++ b/lib/libssl/src/crypto/bio/bss_file.c @@ -199,7 +199,7 @@ static long MS_CALLBACK file_ctrl(BIO *b, int cmd, long num, void *ptr) { case BIO_C_FILE_SEEK: case BIO_CTRL_RESET: - ret=(long)fseek(fp,num,0); + ret=(long)fseek(fp,num,SEEK_SET); break; case BIO_CTRL_EOF: ret=(long)feof(fp); |