Comments (8)
Thanks, I'll take a look. memcpy sounds ok, but it guess it will be slow (compared with a simple attribution). I'll rewrite those lines, thanks for reporting.
from tlse.
Not sure though if you want to use our solution but we've resolved this in ltc like this
from tlse.
No, it won't be any slower. memcpy with short, constant sizes will be inlined by the compiler, yielding the same machine code as cast/assign.
from tlse.
Most lines can be simply rewritten as:
*(int *)&trail[4] => *(int *)(trail + 4)
from tlse.
A kind of cosmetic patch:
from tlse.
Tried, patch failed:
Patching file tlse.c using Plan A...
Hunk #1 succeeded at 809 (offset 9 lines).
Hunk #2 succeeded at 3760 (offset 408 lines).
Hunk #3 FAILED at 3393.
Hunk #4 succeeded at 6681 (offset 983 lines).
Hunk #5 FAILED at 6505.
Hunk #6 FAILED at 6520.
Hunk #7 FAILED at 6562.
Hunk #8 FAILED at 6593.
Hunk #9 succeeded at 7861 (offset 1186 lines).
5 out of 9 hunks FAILED -- saving rejects to file tlse.c.rej
done
from tlse.
The patch was made against f162e06. I do not use your master for now as having some local mods (tls_peek, another tls_pending, etc.), not sure if you are interested in them
from tlse.
Fixed (based on your patch). Thanks!
from tlse.
Related Issues (20)
- certificate_verify() is not called when using a TSL 1.3 client HOT 1
- Connect (to wikipedia) with V13 succeeds, but cannot read data. V12 works HOT 4
- Failure to connect to SMTP server with STARTTLS HOT 1
- Failure to notice incorrect handshake on SSL_connect
- TLS 1.3 server incompatible with openssl
- LTC_ARGCHK 'b != NULL' HOT 3
- Support for latest libtomcrypt HOT 5
- SSL_read function strange behavior vs openssl's SSL_read HOT 1
- Merge into tomcrypt HOT 2
- what is "for semantic compatibility" means? HOT 1
- Examples expects testcert folder. HOT 1
- HTTPS Server wont respond when using ECDHE-RSA-AES256GCM-SHA384 cipher HOT 1
- Growtopia wont respond when using TLSe HOT 14
- Async sockets. HOT 5
- Tomcrypt version HOT 2
- Is its possible to make HTTPS Proxy using TLSe? HOT 3
- A website using Cloudflare is giving me 403 when using test client code, but works with Chrome, why? HOT 5
- TLSE fails to contact Cloudflare server, where curl works fine, I eliminated every cause I could think of HOT 8
- How do i set TLSe Client Cipher? HOT 2
- TLS 1.3: Early data
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tlse.