Author Topic: XelSSL - tiny OpenSSL alternative (sort of)  (Read 1175 times)

Tomxe

  • Full Member
  • ***
  • Posts: 202
XelSSL - tiny OpenSSL alternative (sort of)
« on: October 13, 2026, 10:10:54 pm »
About 5,000 lines, no DLLs and no OpenSSL. Works on every platform supported by Free Pascal. It also replaces TlsLib4Pascal + CryptoLib4Pascal (~435,000 lines): Makes EXEs about 5 MB smaller than EXEs using TlsLib4Pascal.
Uses code from TlsLib4Pascal by Ugochukwu Mmaduekwe.

License: MIT

https://github.com/Xelitan/XelSSL---OpenSSL-alternative-in-pure-Pascal
« Last Edit: October 28, 2026, 11:02:56 am by Tomxe »

Thaddy

  • Hero Member
  • *****
  • Posts: 19978
  • Pointless static linking author
Re: XelSSL - tiny OpenSSL alternative
« Reply #1 on: October 14, 2026, 12:07:58 pm »
You should have asked Xor-El to integrate it. I have no use for such copy code. Impolite in the open source world. also check the license and do not do that ever again. Xor-El's code is a game changer, your code looks like amateure code (or poor AI) , which it is....
Simply don't touch real code when you do not even understand the heritage and certainly could not write it yourself.
( >:(This time I am really angry, not just using emoticons. Bad practice.
let's evaluate:
- Xor-El, the man with the unpronounceable name himself, wrote perfect code.
- He is a member of this forum
- You used AI to improve on his code, not YOUR code, you do not even understand his code
- Don't publish such code here please, first consult the author
- Xor-El is a forum member

Be aware if I see more of that cow dung you will get more  >:( >:( >:( >:( >:D
I know that many of us think the same.
« Last Edit: October 14, 2026, 12:26:16 pm by Thaddy »
Any "programmer" that knows only one programming language is not a programmer

paweld

  • Hero Member
  • *****
  • Posts: 1798
Re: XelSSL - tiny OpenSSL alternative
« Reply #2 on: October 14, 2026, 12:24:57 pm »
Quote from: Thaddy
also check the license and do not do that ever again.
The code from @Xor-el is licensed under the MIT License, so using his code while retaining the author's information is fully in accordance with the license.
Best regards / Pozdrawiam
paweld

Thaddy

  • Hero Member
  • *****
  • Posts: 19978
  • Pointless static linking author
Re: XelSSL - tiny OpenSSL alternative
« Reply #3 on: October 14, 2026, 12:28:21 pm »
@Paweld
Yes he is generous. Doesn't mean I condone repurposing code in a.. well, stupid way if the writer of that code is a forum member. I think you agree with that.
Manners..
Any "programmer" that knows only one programming language is not a programmer

paweld

  • Hero Member
  • *****
  • Posts: 1798
Re: XelSSL - tiny OpenSSL alternative
« Reply #4 on: October 14, 2026, 12:38:25 pm »
I think that as long as he doesn't violate the license terms, he can break whatever he wants.

As for the component's code, I won't comment on that, but not everyone is an expert right away. I've been in this field for over 20 years, and I still have a long way to go. And without learning and writing new things (components, applications, whatever), your skills won't improve.
Best regards / Pozdrawiam
paweld

Tomxe

  • Full Member
  • ***
  • Posts: 202
Re: XelSSL - tiny OpenSSL alternative
« Reply #5 on: October 14, 2026, 06:27:20 pm »
@Thaddy, the code is under MIT license, I didn't do anything wrong, morally, legally or otherwise. You are being weird.

Thaddy

  • Hero Member
  • *****
  • Posts: 19978
  • Pointless static linking author
Re: XelSSL - tiny OpenSSL alternative
« Reply #6 on: October 14, 2026, 06:29:23 pm »
Even weirdness requires attribution to source. Regardless of license. It is morally wrong.
Any "programmer" that knows only one programming language is not a programmer

Tomxe

  • Full Member
  • ***
  • Posts: 202
Re: XelSSL - tiny OpenSSL alternative
« Reply #7 on: October 14, 2026, 06:32:39 pm »
There is attribution in many places. The MIT license is *exactly* for that- so anyone can change the code, without asking anyone. How can it be morally wrong if the author himself chose that license?

paweld

  • Hero Member
  • *****
  • Posts: 1798
Re: XelSSL - tiny OpenSSL alternative
« Reply #8 on: October 14, 2026, 06:34:42 pm »
The attributions are listed in the license file, as also mentioned in the README file
Quote
License

MIT — see LICENSE, which also credits the authors of the code this library builds on.
Best regards / Pozdrawiam
paweld

PierceNg

  • Sr. Member
  • ****
  • Posts: 450
    • SamadhiWeb
Re: XelSSL - tiny OpenSSL alternative
« Reply #9 on: October 15, 2026, 06:17:12 am »
Allowed for under the license, but original phrasing is misleading as you first claims it replaces TlsLib4Pascal then clarifies that it is derived from TlsLib4Pascal.

Tomxe

  • Full Member
  • ***
  • Posts: 202
Re: XelSSL - tiny OpenSSL alternative
« Reply #10 on: October 15, 2026, 09:35:51 am »
It's basically thinned down version of TlsLib4Pascal, how else to describe it?

Thaddy

  • Hero Member
  • *****
  • Posts: 19978
  • Pointless static linking author
Re: XelSSL - tiny OpenSSL alternative
« Reply #11 on: October 15, 2026, 09:47:23 am »
It's basically thinned down version of TlsLib4Pascal, how else to describe it?
Ask Xor-El???? He is a forum member and very accessible.....And he wrote it....He can - and will - also explain any weaknesses in your "slimmed down" version and explain why it is wrong...(well, prone to some things you did not know or considered, otherwise I will do that)
Just send him a private message on this forum. Guaranteed you will get a response.
« Last Edit: October 15, 2026, 09:50:59 am by Thaddy »
Any "programmer" that knows only one programming language is not a programmer

Tomxe

  • Full Member
  • ***
  • Posts: 202
Re: XelSSL - tiny OpenSSL alternative
« Reply #12 on: October 15, 2026, 09:50:11 am »
I've already contacted Xor-El

Thaddy

  • Hero Member
  • *****
  • Posts: 19978
  • Pointless static linking author
Re: XelSSL - tiny OpenSSL alternative
« Reply #13 on: October 15, 2026, 09:51:23 am »
I've already contacted Xor-El
And ?  ;D
Any "programmer" that knows only one programming language is not a programmer

Tomxe

  • Full Member
  • ***
  • Posts: 202
Re: XelSSL - tiny OpenSSL alternative
« Reply #14 on: October 15, 2026, 09:52:59 am »
And it's been over 4 hours and nothing yet. If he doesn't like it for some reason I'll just delete it. I am not here to make people angry

 

TinyPortal © 2005-2018